Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Safe zeropage addresses
2008-04-21 12:30
Shadow
Account closed

Registered: Apr 2002
Posts: 355
Safe zeropage addresses

Which zeropage addresses are safe for use?
I've checked through a C64-memory map, and it seems like most zeropage locations with the exception of $00 and $01 are mostly for BASIC stuff, meaning that they should be OK when coding demos that doesn't use ase any BASIC or Kernel stuff?

 
... 14 posts hidden. Click here to view all posts....
 
2008-04-21 17:37
Cruzer

Registered: Dec 2001
Posts: 1048
Quote: You said it yourself. If your demo doesn't use any BASIC or Kernel stuff, all addresses except $00 and $01 are safe. It's really simple as that.

And if we could just have had these two as well, everything would be perfect. I'll never forgive the C64 designers for this. DAMN YOU RUSSELL AND YANNES!! ;)
2008-04-21 17:56
Oswald

Registered: Apr 2002
Posts: 5094
yeah, also chuck peddle should suffer for not adding atleast one more damned index register ;)
2008-04-21 21:45
Skate

Registered: Jul 2003
Posts: 494
@Oswald: registers are just like girls. you can load them as much as you want but you will still miss another one ;) tax, tay, tya, txa are all lesbians...
2008-04-22 06:23
HCL

Registered: Feb 2003
Posts: 728
Which register is most teh ghay?

..and @Oswald: a bit naive to judge a music player as better/worse by the number of zp-adresses it uses.. lda zp,pha is not teh quality.
2008-04-22 06:58
Cruzer

Registered: Dec 2001
Posts: 1048
The ideal music player should be configurable so you could set parameters like how many zp-adrs it can use, whether it should be optimized for cycle or memory consumption, whether it's the max or average rastertime that counts, etc. and then it should generate the player based on these criteria. Just an idea for next version, Jeff! ;)
2008-04-22 07:15
Zyron

Registered: Jan 2002
Posts: 2381
It should also create the music by itself, automagically. :)
2008-04-22 07:24
HCL

Registered: Feb 2003
Posts: 728
Ahh, you're f**kedup, and you know it. This is the kind of stuff that is really motivating for the composers.. Cryptic, meaningless settings that doesn't affect the sound of your music at all. I guess *every* musician would start to fiddle with the ZeroPage-ramp and the Optimize-button at once, yeah right.. ;)
2008-04-22 07:39
Dane

Registered: May 2002
Posts: 423
Quote: The ideal music player should be configurable so you could set parameters like how many zp-adrs it can use, whether it should be optimized for cycle or memory consumption, whether it's the max or average rastertime that counts, etc. and then it should generate the player based on these criteria. Just an idea for next version, Jeff! ;)


This pretty much describes my relationship with HCL
2008-04-22 09:09
Quetzal

Registered: Jul 2002
Posts: 71
Quote: @Oswald: registers are just like girls. you can load them as much as you want but you will still miss another one ;) tax, tay, tya, txa are all lesbians...

lax = two at same time?!
2008-04-22 10:32
Skate

Registered: Jul 2003
Posts: 494
this explains why lax is illegal ;)
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Guests online: 98
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.044 sec.