Started by TCMSLP, 23:06, 12 November 12
0 Members and 1 Guest are viewing this topic.
org &6000SCR_SET_MODE EQU &BC0Eld a, 2 ; mode 2call SCR_SET_MODEld a, $111111 ; byte to writeld hl, $c000 ; start of screen ram.loopld (hl), a ; set byte to $11111111inc hl ; increment hljp loop
org &6000SCR_SET_MODE EQU &BC0Eld a, 2 ; mode 2call SCR_SET_MODEld a, %111111 ; byte to writeld hl, $c000 ; start of screen ram.loopld (hl), a ; set byte to %11111111inc hl ; increment hljp loop
Quote from: ralferoo on 00:27, 13 November 12It's just a not very good assembler. It should be warning you that $11111111 is overflowing the A register - it's being truncated to $11, or in binary 00010001. What you want is $FF.
Quote from: Devilmarkus on 00:44, 15 November 12True... the integrated Z80 assembler in JavaCPC is very basic... But should be ok for the most quick things As I don't know assembler, it was hard to create an assembler interpreter and compiler...
Page created in 0.044 seconds with 33 queries.