Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Alert Box & Saving Data
Posted by: Bod/STAX Sep,19.2014-14:41 

I've been ironing out some of the minor bugs I have left in my game now and one such bug is saving out hiscores.

Because the game is now harddrive compatible GEM is kept intact in memory but I still access everything within the game via reading/writing straight to hardware.

Now whenever I attempt to save out the hiscores the game would freeze if I hit an error (say a write protected disk) however when I checked the routine from MonST it worked except when I would hit an error an alert box would appear basically telling me the disk was write protected.

What I am thinking that is causing the freeze is that an alert box is appearing but in a screen location I can't see and because I have my own keyboard handler pressing return has obviously no effect.

Is there any way to stop alert boxes and letting me save out the data via a 'silent' error?







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Alert Box & Saving Data Bod/STAX Sep,19.2014-14:41
  Re: Alert Box & Saving Data ggn Sep,19.2014-15:29
    Re: Alert Box & Saving Data Bod/STAX Sep,19.2014-16:31


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson