It is currently Mon Oct 20, 2014 4:49 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Shadow RAM control
PostPosted: Wed Jun 29, 2011 5:07 pm 
Offline
User avatar
 Profile

Joined: Mon Jan 07, 2008 6:46 pm
Posts: 380
Location: Málaga, Spain
Can anyone point me at some docs which cover how shadow RAM is controlled (at the hardware level) on both a B+ and a Master?

Basically I want to make sure it's completely disabled - neither paged in nor being displayed.

Will
Code:
LDA #0
STA &FE34

do the trick on both machines?

And on a regular BBC B, what will that do? (is it mapped to FE30 or just thrown away?)

Cheers!


Top
 
 Post subject: Re: Shadow RAM control
PostPosted: Wed Jun 29, 2011 6:22 pm 
Offline
User avatar
 Profile

Joined: Mon Jan 07, 2008 7:02 pm
Posts: 273
Yes and mirrors &FE30.


Top
 
 Post subject: Re: Shadow RAM control
PostPosted: Wed Jun 29, 2011 9:10 pm 
Offline
User avatar
 Profile

Joined: Mon Jan 07, 2008 6:46 pm
Posts: 380
Location: Málaga, Spain
Sweet. Cheers Tom.


Top
 
 Post subject: Re: Shadow RAM control
PostPosted: Mon Aug 08, 2011 3:23 am 
Offline
 Profile

Joined: Sat Aug 22, 2009 7:45 pm
Posts: 34
RichTW wrote:
Basically I want to make sure it's completely disabled - neither paged in nor being displayed.
MODE (positive any number less than &80)


Top
 
 Post subject: Re: Shadow RAM control
PostPosted: Mon Aug 08, 2011 7:04 am 
Offline
User avatar
 Profile

Joined: Mon Jan 07, 2008 6:46 pm
Posts: 380
Location: Málaga, Spain
Not if *SHADOW has been entered beforehand!

I wanted a direct hardware access solution (as I'm changing screen mode by direct poking so that the screen memory isn't cleared), and it seems that the solution which is compatible with everything is:

Code:
LDA #0
STA &FE34    ; disable shadow RAM
LDA &F4
STA &FE30    ; put FE30 back in case it was mirrored at FE34


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron