SamCoVT / TaliForth2

A Subroutine Threaded Code (STC) ANSI-like Forth for the 65c02
Other
28 stars 4 forks source link

c65 doesn't end on BYE #76

Closed SamCoVT closed 3 months ago

SamCoVT commented 3 months ago

Tali's default behavior on BYE is to run the BRK instruction. This drops py65mon back to the simulator prompt. In c65, it just resets Tali (because Tali's start vector is placed in all three vectors at the end of memory). If c65 can be modified to terminate on BRK (perhaps with a command line option?) then then Tali's startup message of "Type 'bye' to exit" will work for both py65mon and c65. With c65, I'd expect it to fully terminate and just drop back to a prompt.

patricksurry commented 3 months ago

that sounds doable; you can assign to me

patricksurry commented 3 months ago

This would also be a good excuse to remove the 'shutdown' action in the block IO device which is basically the same