nealcrook / nascom

Software, utilities and documentation for the Z80-based NASCOM2 computer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

N4 pascal does not warm-start

nealcrook opened this issue · comments

Pascal starts up OK from the SBR cold-start menu, but does not start up again when the warm-reset button is pressed.

After some code disassembly it's clear that the ROMs are not designed to cold-start. They do it successfully 1st-time around because the Special Boot ROM has already set up NAS-SYS. The ROMs are designed to be started from NAS-SYS using the J and Z commands for cold and warm start, respectively, just like BASIC.

I don't know why reset does not work with them/why it goes back to NAS-SYS, but the correct fix here is to change the menu system so that it resets to 0 (NAS-SYS) rather than the Pascal ROM