mirror of
https://github.com/sethm/symon.git
synced 2024-11-05 15:04:41 +00:00
c1caf8c6b4
This change introduces simulated baud rates in the ACIA. Baud rate is controlled just as in the real 6551, by writing to the ACIA's control register. Baud rates between 50 and 19,200 baud are selectable. A baud rate of 0 has special meaning, and turns off all simulated baud rate delays (on a real 6551, this means to use an external clock instead of the internal baud rate generator) A busy-wait loop between steps in the simulator control program has also been added. This uses the high-resolution 'System.nanoTime()' call to wait a specific number of nanoseconds before continuing. Symon now waits at least 1uS between clock cycles, trying to approach a real 1MHz 6502 in performance. It is far from perfect, but it's better than it was. Also refactored the status panel to use a BoxLayout, and DRY-up some of the code. |
||
---|---|---|
.. | ||
echo.asm | ||
echo.prg | ||
hello.asm | ||
hello.prg | ||
README |
A Sample Program ---------------- When loaded at address $0300, this program will print "Hello, 6502 World!" in infinite loop. Assembled with the Ophis assembler: https://hkn.eecs.berkeley.edu/~mcmartin/ophis/