Lately I picked up some interest in msx z80 coding. Never done it on a serious level, neither have background in computer science.
I am use this piece of code:
ld de,(.Pointer) ; Tile pointer ld hl,World.Active ; Load complete world add hl,de ; set pointer in world ld de,World.Page1 ld bc,32 ; 32 characters per line ldir ; DE<-HL until BC=0
I am trying to get World.Page1 dynamic, alike how one can set the pointer for hl. Using ld de,World.Page+32
works, which is static and not desired. How do you guys do this?
Login or register to post comments