I need some help fro anyone out there who knows Quick.
I have taken a page from XXL's book and am trying to port some simple spectrum games to A8. Unlike XXL, I am not using assembly, I will be using the Quick language. In theory, this should be straight forward, but I have already hit a snag.
I am trying to create a custom display list (actually, there will be 2 in the game, but one at a time here).
I 'think' it is creating the correct list, but when I try to poke a character to the screen, I get nothing.
I tried virtually the same in TurboBasic and I got a character on the screen. Could any one help?
I am posting the code to both the Quick and the TurboBasic versions so maybe someone could see something.
Quick Code
BYTE
[
DMACTL=559
]
WORD
[
SDLSTL=560
MENUDLI
MENUSCRN
]
* FRONT MENU DISPAY LIST
DATA($7000)
[
112,112,112,71,232,148
7,7,7,6,6,6,6,7,7,7,65,0,70
]
MAIN
MENUDLI=$7000
MENUSCRN=$94E8
.FRONTMENU
ENDMAIN
* DISPLAY FRONT SCREEN
PROC FRONTMENU
LOCAL
WORD
[
PKPOS
]
BEGIN
DMACTL=0
SDLSTL=MENUDLI
DMACTL=34
CLR($70,1)
ADD(MENUSCRN,56,PKPOS)
POKE(PKPOS,65)
ENDPROC
TurboBasic Code
1 DMACTL=559:SDLSTL=560:MENUDLI=28672
2 MENUSCRN=38123
3 HSBMENU=INT(MENUDLI/256)
4 LSBMENU=(MENUDLI-(HSBMENU*256))
10 FOR F=0 TO 18
20 READ A
30 POKE MENUDLI+F,A
40 NEXT F
100 POKE DMACTL,0
110 POKE SDLSTL,LSBMENU
120 POKE SDLSTL+1,HSBMENU
130 POKE DMACTL,34
150 POKE MENUSCRN,99
1000 DATA 112,112,112,71,232,148,7,7,7,6,6,6,6,7,7,7,65,0,70
Any help would be very greatly appreciated.