|
Post by tpenalver on Aug 25, 2017 7:44:41 GMT
Hi,
I have a little problem with the game I created with AGD for CPC. In emulators (WinApe, JavaCpc, cpcBox and Arnold) I have tried the DSK and without any problems, it loads me perfectly, shows me the menu for choice of keyboard / Joystick, loads both versions without problems and when finished the game, Return to this menu made in basic.
The problem is that in a real CPC does not do anything right, does not load the image well and when selecting the game in the menu gives me an error on line 330.
I leave you the files and the list in BASIC of the loader. (I'm a bit bad with this, the same you can help me)
The game start at 13568 and end at 39147
10 CLS
20 MODE 1
30 LOAD"LOAD.SCR" : call &c7d0
40 FOR j = 1 TO 1500: NEXT j
50 CLS
60 MODE 0
180 INK 1,1: INK 2,6,22: INK 3,19: INK 4,26: BORDER 14: PEN 3: MODE 0:PAPER 10: CLS
190 LOCATE 5,4: PRINT"TRY TO RUN AWAY"
200 LOCATE 5,5: PRINT"________________"
210 LOCATE 1,24: PRINT CHR$(164);: PRINT"lws-2017-Made w AGD"
220 '
230 ' Menu de juegos
240 '
250 PEN 1: LOCATE 3,10: PRINT"1 - KEYBOARD"
260 LOCATE 3,12: PRINT"2 - JOYSTICK"
280 '
290 ' Bucle del programa
300 '
310 A$="":WHILE A$<"1" OR A$>"2":A$=INKEY$:WEND
320 IF INKEY(64)=0 THEN LOCATE 3,10: PEN 2: PRINT"1 - KEYBOARD": LOCATE 8,18: PEN 4: PRINT"Loading...": PAPER 0:MEMORY &3500: LOAD "keyb.bin": CALL &3500
330 IF INKEY(65)=0 THEN LOCATE 3,12: PEN 2: PRINT"2 - JOYSTICK": LOCATE 8,18: PEN 4: PRINT"Loading...": PAPER 0:MEMORY &3500: LOAD "game.bin": CALL &3500
340 MEMORY &3500
350 CALL &3500
Can someone help me?
|
|