I updated the online emulator:
- fixed the problem that caused the forever loop (at least I think so, if you continue to experience it please let me know)
- is is now possible to select the firmware ROM to boot from (V3.xx). Add "rom=" query string parameter to the url, e.g.
the default is 3.14 which is the one that is compatible with the current Z88DK implementation.
BTW, when a ROM gets updated the emulator needs to be updated with the following pointers:
Code: Select all
// firmware 3.14 let BASTXT = 0x8133; // points to basic free area (start of program) let PROGND = 0x81BB; // points to end of the basic program let CRSR_STATE = 0x81E9; // cursor visibility state (for injecting keys)
Currently I have the following issue: I wrote a small "hello world" program which doesn't printf() anything unless I substitute "fputc_console" with my own. I tried to trace back what is the actual fputc_console that is included but was not able to figure it out (due my poor understanding of Z88DK).
Is there any test program to run on the LM80C to test the various features so to check that they are correctly implemented?