1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 09:48:05 +11:00

boot: optimize (br)

This commit is contained in:
Virgil Dupras 2020-04-15 20:03:56 -04:00
parent 0750e8d0c0
commit a56ace4d3e
3 changed files with 9 additions and 8 deletions

Binary file not shown.

View File

@ -65,16 +65,12 @@ PC L1 @ - A,, ( prev )
L1 BSET ( BR )
0x17 A, ( nativeWord )
L2 BSET ( used in CBR )
IY PUSHqq, HL POPqq, ( <-- IP )
E (HL) LDrr,
HL INCss,
D (HL) LDrr,
HL DECss,
DE ADDHLss,
HL PUSHqq, IY POPqq, ( --> IP )
E 0 IY+ LDrIXY,
D 1 IY+ LDrIXY,
DE ADDIYss,
JPNEXT,
NOP, ( unused )
NOP, NOP, NOP, NOP, ( unused )
'(' A, '?' A, 'b' A, 'r' A, ')' A,
PC L1 @ - A,, ( prev )

View File

@ -158,6 +158,11 @@
0x0b OP1qq DECss,
0x09 OP1qq ADDHLss,
: ADDIXss, 0xdd A, ADDHLss, ;
: ADDIXIX, HL ADDIXss, ;
: ADDIYss, 0xfd A, ADDHLss, ;
: ADDIYIY, HL ADDIYss, ;
: _1rr
C@ ( rd rr op )
ROT ( rr op rd )