Tip of the Year: Save your work after MSX crash!

Page 2/2
1 |

By wolf_

Ambassador_ (9887)

wolf_'s picture

19-04-2005, 17:11

I remember some apps that stopped because of an error .. when doing 'list', I got a huge shitload of basic mess .. is that the same principle?

By marison

Expert (104)

marison's picture

19-04-2005, 21:39

About the brazillian book or magazine with this tip, I don't ever could say if it's a book or a magazine!

But I remember the pokes in the first bytes in the page 2, and the objective of them. I can'nt say if the form is identical to that you have presented to us, however.

By NYYRIKKI

Enlighted (5843)

NYYRIKKI's picture

19-04-2005, 22:23

I remember some apps that stopped because of an error .. when doing 'list', I got a huge shitload of basic mess .. is that the same principle?

This is typical situation, when you try to load some memory mapped program (game) and you don't have enough memory. This is caused by the fact that BASIC area is overwritten by machine language (ML) program, graphic, music or some other data.

Because BASIC is tokenized in memory, ML data converted back to BASIC listing causes "a huge shitload of basic mess". Here the situation is turned around... This basic mess will cause predefined bytes to be written in to memory and those bytes are used to make a working program that we call from the "BASIC part of the program".

By NYYRIKKI

Enlighted (5843)

NYYRIKKI's picture

19-04-2005, 22:27

But I remember the pokes in the first bytes in the page 2, and the objective of them. I can'nt say if the form is identical to that you have presented to us, however.Yeah, I know that I'm not first person that has been working on this problem and all these solutions are based to same prinsiple I think, but I just try to find shortest/easyest possible solution for it. Smile

By flyguille

Prophet (3028)

flyguille's picture

20-04-2005, 05:00

sometime, when you see a shitload of basic's commands, after a bad loading of a mapped appl. is just because the page 2 hasn't the mapped page 1.

Just:

OUT (&HFE),1

and back to the normal.

By marison

Expert (104)

marison's picture

20-04-2005, 13:09

Yeah, I know that I'm not first person that has been working on this problem and all these solutions are based to same prinsiple I think, but I just try to find shortest/easyest possible solution for it. Smile

And probably you've got what you want! The tip is very concise and simple to do!

Unhappily, now I code almost nothing in Basic. Some test code only...

Page 2/2
1 |