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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Nov 22, 2012 12:15 am 
Offline
 Profile

Joined: Thu Feb 17, 2011 11:38 pm
Posts: 9
Two questions in two days! Sorry to be a pest ;)

There are plenty of variations of the following code kicking around on the Internet which is described as performing a toggle function on a single bit of a specifiv byte in the CMOS to toggle the VIDC POST checks on and off.

Code:
   REM Toggle state of power on self test bit in CMOS
   REM Read byte
   SYS "OS_Byte",161,&BC TO ,,byte%
   REM EOR byte with mask for bit 1
   byte% = byte% EOR 1<<7
   REM Write byte back again
   SYS "OS_Byte",162,&BC,byte%
   END


The thing is, on my machine at least, it doesn't appear to work.

That is to say, it clearly toggles the relevant bit in the relevant byte in the CMOS and that value is carried over between power cycles. It doesn't however have any effect on whether or not the VIDC POST check is run. On the machine I've tested it on with RO3.11, the VIDC POST is always run regardless of the setting of the bit.

Does anyone know which versions of RISC OS this is meant to work with? Clearly as the POST was introduced with RISC OS 3.00 and the code being described as working with RISC OS 3, I thought it reasonable to assume that it would simply work on my machine. Sadly, that's not the case...

Paul


Top
 
PostPosted: Thu Nov 22, 2012 12:23 am 
Offline
 Profile

Joined: Thu Feb 17, 2011 11:38 pm
Posts: 9
Hmmm,

AppNote 225 seems to indicate that the bit is used in RISC OS 3.10 and not 3.00. It makes no mention of RISC OS 3.11.

http://www.retro-kit.co.uk/user/custom/Acorn/32bit/documentation/RISCOS-POST-AppNote225.pdf

I guess I'll test it out with my RISC OS 3.10 machine and see if it works on that.

Paul


Top
 
PostPosted: Sun Nov 25, 2012 7:43 pm 
Offline
 Profile

Joined: Thu Feb 17, 2011 11:38 pm
Posts: 9
I've tried this code to disable the VIDC POST check on my A310 now running RISC OS 3.10 and it has no effect on that machine either.

I'm finding this most odd as the code is published in various forms and I've checked them all and I've re-coded it myself in assembler so the only thing I can think is that although the information was published either the disable VIDC check never made it into the OS or there's a typo in the information regarding which bit should be changed to disable the check.

If anyone has any suggestions as to where I should look next, I'm open to suggestions.

Paul


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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