SamCoVT / TaliForth2

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

Compiling/strip-underflow honored even when compiling as JSR #99

Closed SamCoVT closed 5 months ago

SamCoVT commented 5 months ago

This seems to work well. It now honors the strip-underflow variable when compiling, and the disassembler recognizes +3 JSR targets (but it double checks to make sure the word DOES have the UF flag set before printing the name of the word). I did some manual tests and it appears to be working as desired.

Also fixed #97 while in there (accidentally had 2drop when drop was correct).

I think this is independent from the w_ label work at the assembly level, so if you like it then I will go ahead and merge it.

patricksurry commented 5 months ago

looks good