Date : Sat, 09 Aug 2008 07:12:36 +0930
From : rafg1@... (Raf)
Subject: Master 128 century correction
Hi friends,
Re:- Master 128 RTC century correction program.
Below is a link for Master 128 users on James
Fidell's website that he has kindly arranged for me.
It is an updated version of my simple slow data bus
method of reading the first ten hidden cmos memory
bytes, after indirecting Osword &0E with XY = 0,
to give whatever century you like and not only the chosen
century, plus the usual time, day and date for this century.
Just click on the following link and download the disk image
ZCENTY.SSD :-
http://www.fidell.co.uk/bbcmicro/ZCENTY.SSD
Instructions
1. Write ZCENTY.SSD to a DFS 3.5" 200Kb diskette
formatted only on side '0' (to make life easy for now),
using OMNIFLOP. I haven't tried a larger 5.25" drive as
I don't own one for my PC at present.
2. Check that all is ok in a Master 128 and do the following.
*CO. FILE 9
Hard reset
MODE 128
LOAD, LIST, check & RUN the single file on the disc,
'ZZ0SSD'.
Do a hard reset.
*ROMS should show 'TIME' Rom in slot 7.*Change* this
to slot 4/5, in the penultimate line of my programming, if you
have a GOMMC installed *without* reclaimed banks 6 & 7.
Issue *CENTURY command (*CEN should suffice) and
enter '2' and '0' when prompted.
Check that today's time, day and date are correct, (TIME$=".....")
Do a *TIME or PRINT TIME$ - you should have the correct
time, date and century.
Other considerations and points:-
Use *EDIT if you want to *BUILD or *APPEND <fsp>,
because of a bug, either work incorrectly or not at all. If
my programming is responsible, your input would be much
appreciated to correct this.
The program was part of a longer one, so DIM H% 1500
is sufficient now in line 410. Also, try removing *one* 'PLA'
mnemonic from line 2530 as it also probably won't be needed
any longer in this shorter program.
The programs for XY= 1 and 2 are very simple, even with
century correction, but I will leave these till another time.
Best wishes,
Raf Giaccio.
P.S. I would appreciate any assistance or suggestions
for improvements.
E-mail message checked by Spyware Doctor (6.0.0.362)
Database version: 5.10440
http://www.pctools.com/en/spyware-doctor-antivirus/