View Single Post
Old 03 December 2004, 20:33   #7
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,501
But what would the WHDLoad guys say??!?

Frog wanted me to make something OS-friendly, so I'd like to make it as friendly as a can. But a demo is a demo... it's supposed to use the machine fully... if it needs all memory from $c0 to $7ffff it's not gonna be a pussy and ask pretty please for it. But if it doesn't, you'd like a clean exit.

I think I'll detect if the decrunch start and end address in within the chip chunk that I allocated for it, _before_ decrunching. If it is, fine, keep all OS-stuff and don't Disable(). Otherwise the decruncher will Disable(), decrunch, start the demo, and on exit, do a reset. I think that's a good solution.
Photon is offline  
 
Page generated in 0.03889 seconds with 11 queries