so, code
Code: Select all
SYS_SpriteCopy_118 .LD [srcAddr],X ; src line 0
.LD [srcAddr + 1],Y
.LD [Y,X]
Code: Select all
X=peek(srcAddr]
Y=peek(srcAddr+1]
A=peek[y*256+X]
Code: Select all
SYS_SpriteCopy_118 .LD [srcAddr],X ; src line 0
.LD [srcAddr + 1],Y
.LD [Y,X]
Code: Select all
X=peek(srcAddr]
Y=peek(srcAddr+1]
A=peek[y*256+X]
Congratulations, well done
Exactly.dwesti wrote: ↑01 Feb 2020, 04:26 so, codelooks likeCode: Select all
SYS_SpriteCopy_118 .LD [srcAddr],X ; src line 0 .LD [srcAddr + 1],Y .LD [Y,X]
?Code: Select all
X=peek(srcAddr] Y=peek(srcAddr+1] A=peek[y*256+X]
Code: Select all
SDL_UpdateTexture(_screenTexture, NULL, _pixels, SCREEN_WIDTH * sizeof(uint32_t));
SDL_RenderCopy(_renderer, _screenTexture, NULL, NULL);
renderHelpScreen();
SDL_RenderPresent(_renderer);
if(synchronise) Timing::synchronise();
Code: Select all
; comment out or delete CallTable
; _callTable EQU 0x007E
Code: Select all
LDWI LABEL
CALL giga_vAC ; giga_vAC is defined in gigatron.i
Code: Select all
vAC_tmp EQU 0x30
...
...
STW vAC_tmp
LDWI LABEL
CALL giga_vAC ; giga_vAC is defined in gigatron.i
...
...
LABEL LDW vAC_tmp
...
RET
Code: Select all
gtasm xa.gasm 0x0200 .
is it possible to do that on-the-fly using WOZmon at https://gigatron.io/emu/ ? Or does the .gt1 get deleted when one enters WozMon ?