Ok,
I have updated a 'buggy' version of the emulator to my google drive at:
https://drive.google.com/drive/folders/1dusSDf6FWJ9mH67dl6kyWL9zdsLNgIqT?usp=sharing.
I have it running under an old version of Safari on an iMac.
Known issues are:
^A doesn't yet work. On the 'fix' list.
RUBOUT doesn't yet work. On the 'fix' list.
There is a problem with CR/LF. On the 'fix' list.
There is no EPROM programmer support. Not on the fix list (yet)...
The emulator doesn't fully work with MONITOR 8 - so there is a debugging activity to do... I will leave the code for a while and then have another look at it. I have just found a stupidity within the last few minutes...
Something seems 'a bit random' as well. I can't quite put my finger on it yet though... Once I can define the problem - I can look for it!
Instruction timing is not yet correct. This will be a long term goal...
Download all of the files from my google drive (one HTML file and three PNG files) to the same directory and run the HTML file. You will need to put your CAPS LOCK on (MONITOR 8 only likes upper case characters). Click the [RUN] button when you are ready.
LOC works - but doesn't take the correct octal number you provide as a parameter.
DLP works.
DPO and DBF seem to work (but don't start at the specified location and seem to continue forever)...
Some of the assembly mnemonics work - most don't. HLT, ADI, NDI etc. (most of the immediate instructions) work. Well, they are accepted by MONITOR 8 and increment the pointer by the correct amount
... Other mnemonics (for example NOP, LBA etc.) don't work. I suspect I am close... Possibly a FLAG issue? I did update the CARRY flag as part of the IMMEDIATE instructions. This was contrary to the documentation I found on the web - but seemed more logical to me after reading the 8008 User Manual.
Here is the manual. Section 'C' details the MONITOR 8 program:
http://deramp.com/downloads/mfe_arc...ations/Microsystems International/mf8008a.pdf
Here is the online table of instructions I was referring to:
http://pastraiser.com/cpu/i8008/i8008_opcodes.html
Anyhow - enjoy the alpha version and let me know what you think. All constructive comments welcome!
Regards,
Dave