Fixed DCPU-16 my way was nooby and illegal...
:)
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
;HELLO
|
||||
SET [0x8000], 0x5048
|
||||
SET [0x8001], 0x5045
|
||||
SET [0x8002], 0x504C
|
||||
SET [0x8003], 0x504C
|
||||
SET [0x8004], 0x504F
|
||||
;WORLD
|
||||
SET [0x8006], 0x5057
|
||||
SET [0x8007], 0x504F
|
||||
SET [0x8008], 0x5052
|
||||
SET [0x8009], 0x504C
|
||||
SET [0x800A], 0x5044
|
||||
;Detect hardware and map out screen
|
||||
hwq i
|
||||
ifn a,62997
|
||||
sti pc,0
|
||||
set a,0
|
||||
set b,8
|
||||
hwi i
|
||||
sub pc,1
|
||||
;Output
|
||||
dat 0x5048,0x5065,0x506C,0x506C,0x506F,0 ;hello and the space
|
||||
dat 0x5077,0x506F,0x5072,0x506C,0x5064 ;world
|
||||
Reference in New Issue
Block a user