Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » c64/How to predict when garbage collection occurs..
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
c64/How to predict when garbage collection occurs.. [message #210283] Fri, 13 September 2013 20:02 Go to previous message
Mary Lea Beinhower is currently offline  Mary Lea Beinhower
Messages: 5
Registered: January 2012
Karma:
Junior Member
Greetings:
With which ZP pointers would I use to detect, beforehand, when the c64 performs it's own Garbage Collection.. Like, would anyone be able to help me write some code I can attach to the IRQ.

When there is only a tiny little bit of memory left, set a address to (1). Then, when I do my own garbage collection, I can NULL that address. All the while, having an IRQ routine that polls the memory location for a (1), if true, let me collection garbage, and zero that address.

If the address is zero, the irq code will exit..

Im trying to NOT let the c64 collect on its own.. force my own collection code.

Thanks In Adavance! :)

--Steve
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Genpact conducting Walk-in Drive in For Fresherss
Next Topic: The Art of TAP files...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Mar 29 07:17:56 EDT 2024

Total time taken to generate the page: 0.00322 seconds