new (may be not new) Sedoric bug found (all versions)

This is the best place to discuss about the various Oric operating systems like Sedoric, Randos, FT-Dos, and others, as well as serious software, utilities, word processors, disassemblers, etc... that runs on oric computers.
Ray030471
2nd Star Corporal
Posts: 22
Joined: Mon Jan 25, 2021 9:18 pm

Re: new (may be not new) Sedoric bug found (all versions)

Post by Ray030471 »

Many thanks to Jonh for supplying me with SEDORIC V1.006.

I have downloaded the dsk image and can see that it also includes the FI% bug but it doesn't include my TAKE correction.
It seems, therefore, that this FI% bug was there from the start.

Here is a simple Basic program which will update SEDORIC V2.0 so that the FI array will be of type "FN" and therefore will not be confused with any other array normally produced in Basic.

100 FOR I=0 TO 5
110 READ V:POKE #BFE0 + I,V
120 NEXT
130 SAVEO "MCD31",A#BFE0,E#BFE5
140 LOAD "MCD31",A#CD31
150 FOR I=0 TO 2
160 READ V:POKE #BFE0 + I,V
170 NEXT
180 SAVEO "MF3FD",A#BFE0,E#BFE2
190 LOAD "MF3FD",A#F3FD
200 READ V:POKE #BFE0,V
210 SAVEO "MCD25",A#BFE0,E#BFE0
220 LOAD "MCD25",A#CD25
230 DATA #49,#80,#C8,#31,#9E,#60
240 DATA #20,#31,#CD
250 DATA #46

I believe that this fix does not have any side effects but please let me know if this is not the case.

Formatting a master disk after the above update will not produce a disk with this updated SEDORIC but those amongst us who know NIBBLE and disk layout well can update SEDORIC on the disk.
Ray030471
2nd Star Corporal
Posts: 22
Joined: Mon Jan 25, 2021 9:18 pm

Re: new (may be not new) Sedoric bug found (all versions)

Post by Ray030471 »

Here is an update/correction on my FI array fix (my earlier version incorrectly set the FI array to be of type string rather than type function and possibly used some non-available RAM).

100 FOR I=0 TO#B
110 READ V:POKE #BFE0 + I,V
120 NEXT
130 SAVEO "M04E1",A#BFE0,E#BFE5
140 SAVEO "MF3FD",A#BFE6,E#BFE9
150 SAVEO "MCD25",A#BFEA,E#BFEB
160 LOAD "M04E1",A#04E1
170 LOAD "MF3FD",A#F3FD
180 LOAD "MCD25",A#CD25
190 DATA #49,#80,#C8,#11,#9E,#60
200 DATA #20,#E1,#04,#10
210 DATA #C6,#49
User avatar
ibisum
Wing Commander
Posts: 1639
Joined: Fri Apr 03, 2009 8:56 am
Location: Vienna, Austria
Contact:

Re: new (may be not new) Sedoric bug found (all versions)

Post by ibisum »

those amongst us who know NIBBLE and disk layout well can update SEDORIC on the disk
.. sorry to be a bore, but this is very interesting - could you elucidate a bit more on this process?
Ray030471
2nd Star Corporal
Posts: 22
Joined: Mon Jan 25, 2021 9:18 pm

Re: new (may be not new) Sedoric bug found (all versions)

Post by Ray030471 »

I've only just got round to this.
Here are the NIBBLE "instructions" to sort out the FI array bug.

These instructions are based on a disc with 17 sectors per track and all relate to side 0 of the MASTER disk.

In each case, enter the replacement bytes and save the sector before moving on to the next sector.

TRACK 00
Sectors 07 and 08 : enter hexadecimal bytes 49 80 C8 11 9E 60 from byte E1 (hexadecimal)
Sector 0E : enter hexadecimal bytes C6 49 from byte 25 (hexadecimal)

TRACK 03
Sector 01 : enter hexadecimal bytes 20 E1 04 10 from byte FD (hexadecimal).


It would be wise to make a backup copy of the disk before modifying it in this way. I have not experienced any problems after making this modification myself but I cannot guarantee that there aren't any unwanted side effects.

Please let me know how you get on, especially if you experience any problems after carrying out the above modifications.
Post Reply