mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 04:58:05 +11:00
pcat: implement AT-XY
VE works! well, at this point, we can say that Collapse OS runs on PC/AT. A little cleanup and docs writing and we're done!
This commit is contained in:
parent
f76d30b6fe
commit
496826cdc4
@ -50,6 +50,13 @@ CODE 13H ( ax bx cx dx -- ax bx cx dx )
|
||||
8 RSHIFT 1+ FDHEADS C!
|
||||
0x3f AND FDSPT C!
|
||||
;
|
||||
: COLS 80 ; : LINES 25 ;
|
||||
CODE AT-XY ( x y )
|
||||
( DH=row DL=col BH=page )
|
||||
AX POPx, BX POPx, DX PUSHx, ( protect )
|
||||
DH AL MOVrr, DL BL MOVrr, BX BX XORxx, AH 2 MOVri,
|
||||
0x10 INT, DX POPx, ( unprotect )
|
||||
;CODE
|
||||
380 LOAD ( xcomp core high )
|
||||
(entry) _
|
||||
( Update LATEST )
|
||||
|
Loading…
Reference in New Issue
Block a user