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 > $a000 drives me nuts
2013-08-12 14:44
nomistake

Registered: Apr 2011
Posts: 29
$a000 drives me nuts

hello everyone,

so i've had this problem quite often and i don't know how to manage it: everytime i use the memory between $a000 and $bfff i am in trouble :-) somehow i can't read from it with lda $a000,x - i have switched off the basic and kernal with lda #$35 sta $01. what am i doing wrong?
thanks for any advice.
2013-08-12 14:50
tlr

Registered: Sep 2003
Posts: 1762
There's nothing special with $a000 if rom is banked out and code is running from ram. Is $00 properly set up?
2013-08-12 15:23
nomistake

Registered: Apr 2011
Posts: 29
$00 ??
i thought setting $01 to #$35 would be enough...
2013-08-12 15:26
chatGPZ

Registered: Dec 2001
Posts: 11293
yes and no.. for the cpu port $00 is data direction and $01 is data - $00 must be $2f (which is the default set by kernal, so usually you dont have to set it up)
2013-08-13 05:14
nomistake

Registered: Apr 2011
Posts: 29
lol - i copied the wrong data to $a000 (again) - no wonder why i didn't get the results i expected. sorry for bothering you guys with this but thanks a lot for the help!
2013-08-13 05:27
ChristopherJam

Registered: Aug 2004
Posts: 1403
I did get caught out by the DDR ($00) being vandalised the other day; my loader wasn't respecting the length byte of the last block of a file that was loading to near the end of ram, so I overwrote it without realising.
2013-08-13 08:08
enthusi

Registered: May 2004
Posts: 675
Also some TASS versions are molesting $00:
Turbo Assembler 5.2 FIX
2013-08-13 11:04
nomistake

Registered: Apr 2011
Posts: 29
oh! i am using the +60k version of tass Turbo Assembler Professional 1.2 [+60K] 20051017 since i like to have all the regular memory available for my programm. do i just need to look for something that changes $00 and set it to #$2f or is there more to fix this??
--
EDIT: i checked, this version is already fixed ($00 @ #$2f)
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
celticdesign/G★P/M..
Guests online: 136
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Morph  (9.5)
8 Dawnfall V1.1  (9.5)
9 Onscreen 5k  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.2)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 S!R  (9.8)
5 Fungus  (9.7)

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