1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-05 23:20:55 +11:00
collapseos/blk/812

11 lines
372 B
Plaintext
Raw Normal View History

H@ ORG !
2020-06-14 06:21:56 +10:00
JMPs, L1 FWRs ( start )
L2 ( msg ) BSET ," Hello World!" 0 A,
L1 FSET ( start )
SI L2 @ ( msg ) MOVxi, AH 0x0e MOVri, ( print char )
L1 BSET ( loop ) LODSB, AL AL ORrr, ( end of str? )
2020-06-14 06:21:56 +10:00
JZ, L2 FWRs ( next ) 0x10 INT, ( print char )
JMPs, L1 ( loop ) BWR
L2 FSET ( next ) AH 0 MOVri, 0x16 INT, ( read kbd )
AH 0x0e MOVri, 0x10 INT, ( spit read char ) HLT, ( done )