• Display & keyboard routines (and hardware fixes)

    fjkraan09/18/2024 at 09:16 0 comments

    The key scan is now working as it should, the key value to display pattern routine too. This startup pattern should scroll to show the remaining 'C02' characters of the message, but that is a ToDo item. Now functions should be assigned to the keys, at least for the values 0-F, memory, up, down, ... Most inspiration will probably come from the MikroKit09 and MPF-I.

  • Interrupt routine (and display) working!

    fjkraan09/15/2024 at 12:40 0 comments

    After quite some time reading and coding and fixing I managed to get some text on the display. The display (and later keyboard) routine is triggered by interrupt and runs along side of the serial monitor, which is completely based on polling the serial port. The displayed patterns were actually poked in the display buffer using the the serial monitor.

     

  • First stable monitor version

    fjkraan08/06/2024 at 09:43 0 comments

    The code is now more or less complete for now at version 0.3.2. The command naming might change and the Intel-Hex download isn't implemented yet. Here is the current help text, which summarized the command list:

    ** TMS70C02 Monitor Help Menu V0.3.2 **
    
             Caaaa - Call subroutine at aaaa
             D[||+|-|aaaa[-bbbb]] - Dump memory from aaaa to bbbb
             E[e] - View/set echo
             Faaaa eeee dd - Fill memory from aaaa to eeee-1 with dd
             Gaaaa - jump to address aaaa
             Maaaa bb - Modify memory location
             H - Help menu
             Raaaa eeee - RAM test from aaaa to eeee
             Vssss eeee nnnn - Copy memory range ssss to eeee to nnnn
            *:ssaaaattdddddd....ddcc - receive Intel-hex record
             * = not yet implemented

     See the complete code and resulting binaries (bin & hex) at the github site: https://github.com/electrickery/TMS70C02-Monitor

  • Almost the Arduino development model

    fjkraan08/01/2024 at 19:37 0 comments

    With support to both the Arduino firmware and the RomEmulatorTerminal script of a 'download-relay' it is possible to have a 'hands-off download' operation, where the target processor is held in RESET during download. For ROMs intended during startup, this makes firmware development almost as simple as the Arduino environment.

    On the image are all relevant components strapped to a carton board and connected to a USB hub. The ROM-EMulator is conencted to the boot-ROM and the target board output is currently the serial port. Even the board is powered via USB. By bridging the RESET switch of the target board with the relay, the processor is halted until the ROM download is completed.

    The Arduino sketch and download application script can be found are the ROM Emulator github project page: https://github.com/electrickery/ROM-emulator