void SetPseudoHiRes(void)
{
#asm
start: ld a,04h
ld i,a
ld ix,042c4h
ret
42c4 ld hl,0e6dfh //code to be placed at 0x42c4
ld de,0021h
di
ld c,0feh
ld b,016h
42cf djnz 042cfh //code to be placed at 0x42cf
ld b,0c0h
I just finished coding a game for the zx81 with z88dk in text mode and I wanted to see how difficult it would be to port it to pseudo hires before releasing it but I couldn't find "ready to use" pseudo hires routines.
Z88dk has built in support for graphics on the ZX81. But I don’t think pseudo hires is supported. I know WRX and UDG graphics is created with z88dk libraries.
It might be that I´m wrong here, but the ORG statement does not work with inline asm when compiled with Z88dk. You might as well set it on the commandline when compiling instead...