added cbm.RDTIML and cbm.SETTIML wrappers

This commit is contained in:
Irmen de Jong
2025-10-04 02:00:24 +02:00
parent 35b921b062
commit 0e177cb531
7 changed files with 101 additions and 8 deletions

View File

@@ -3,9 +3,10 @@ TODO
LONG TYPE
---------
- scan through library routines if there are opportunities to use the long? such as RDTIM
- document the new long type! and mklong(a,b,c,d) and mklong2(w1,w2) , print_l , print_ulhex (& conv.str_l) and pokel, peekl, and the use of R0:R1 when doing LONG calculations
- call convention for asmsubs: asmsubs don't have syntax for passing a long value so use explicit separate msw() and lsw() arguments... Or introduce new syntax for R0+R1 combo's?
= add pushl popl
- scan through more library routines if there are opportunities to use the long?
- document the new long type! and mklong(a,b,c,d) and mklong2(w1,w2) , print_l , print_ulhex (& conv.str_l) and pokel, peekl, cbm.SETTIML/RDTIML, and the use of R0:R1 when doing LONG calculations
- asmsub call convention: @R0R1_32 to specify a 32 bits long combined register R0:R1
- how hard is it to also implement the other comparison operators (<,>,<=,>=) on longs?
- implement LONG testcases in testmemory