|
Post by Packobilly on Jan 10, 2021 21:02:13 GMT
Hi all! A question... My game block ends at 61538 and I have a menu screen at 61600 that takes up about 2228b. I call it with .205 ... and such. The fact is that everything starts perfectly, the screen is displayed, the game runs very well, but when I lose my lives and it restarts, everything crashes. I have tried going back to Basic after the first restart, before calling 32000 again, and when I call the screen with Randomize Usr 61600 it apoears the error “O Invalid Stream”. Some explanation? Thanks so much!!
|
|
|
Post by Packobilly on Jan 10, 2021 21:03:59 GMT
I have been looking for in the manual, but it is not documented... Thanks again!
|
|
|
Post by Packobilly on Jan 10, 2021 22:48:33 GMT
Okay. I have been fighting with this problem for a few days. In the end, it occurred to me to reduce the size of the game block by another 100b and the matter has been resolved. I suppose that even if the game ends in a certain direction, it can still increase in its execution. I have no other explanation. It had the bytes measured and it crashed over and over on restart. I have reduced the scripts and it works fine. I dont know. Still, if anyone has another explanation ... Thanks, and best regards.
|
|
|
Post by ramon on Jan 11, 2021 15:46:40 GMT
No creas que te persigo. Puedes mover el juego por donde quieras dentro de la memoria, que el resto lo tendrás libre para tus cosas. Excepto estas direcciones, que estarán ocupadas siempre: SHRAPN equ 63926 ; shrapnel table, just below screen address table. SCADTB equ 64256 ; screen address table, just below map. MAP equ 64768 ; properties map buffer. Con lo que no coloques nada que pueda pisar la memoria a partir de la dirección 63926.
|
|
|
Post by Packobilly on Jan 12, 2021 8:24:47 GMT
No creas que te persigo. Puedes mover el juego por donde quieras dentro de la memoria, que el resto lo tendrás libre para tus cosas. Excepto estas direcciones, que estarán ocupadas siempre: SHRAPN equ 63926 ; shrapnel table, just below screen address table. SCADTB equ 64256 ; screen address table, just below map. MAP equ 64768 ; properties map buffer. Con lo que no coloques nada que pueda pisar la memoria a partir de la dirección 63926. La 63926! Ésa dirección era la culpable!! 🤭 Gracias, Ramón. No sabes lo mucho que ayudas. Un saludo!!
|
|