Add line comments and peripheral reg constants to prelude

This commit is contained in:
2026-03-01 15:29:03 +00:00
parent c06ef248b7
commit fde6429d4f

View File

@@ -1 +1,16 @@
1 68 AC! : \ KEY 10 = 0BRANCH [ -20 , ] ; IMMEDIATE \ Now we have line comments :)
\ Peripheral register addresses
: TXBUF 0 ;
: RXBUF 32 ;
: TXHEAD 64 ;
: TXTAIL 65 ;
: RXHEAD 66 ;
: RXTAIL 67 ;
: SYSREADY 68 ;
\ Set SYSREADY high to indicate prelude has finished and enable user
\ input on the JS side.
1 SYSREADY AC!