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: 1790
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: 11386
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: 1409
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: 677
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
iAN CooG/HVSC
csabanw
algorithm
Guests online: 114
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 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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