INSERT MASTER DISC IN DRIVE A
INSERT MASTER DISC IN DRIVE A
I've some more questions about Sedoric.
The operating system is "bank based" with various commands present in various blocs: "BACKUP" is in BLOC 2, "DELETE" and "MOVE" are in BLOC 1, etc...
The first time you access a command which is in a bloc that is not yet loaded, you get this annoying message:
INSERT MASTER DISC IN DRIVE A
AND PRESS 'RETURN'
It happens even if the floppy is already in the drive.
Does anyone know of a trick that could be used to force loading some blocs, or at least disable the message display and key-press, because that's really a stupidly retarded idea that makes using Sedoric far from seamless...
Suggestion are welcome!
The operating system is "bank based" with various commands present in various blocs: "BACKUP" is in BLOC 2, "DELETE" and "MOVE" are in BLOC 1, etc...
The first time you access a command which is in a bloc that is not yet loaded, you get this annoying message:
INSERT MASTER DISC IN DRIVE A
AND PRESS 'RETURN'
It happens even if the floppy is already in the drive.
Does anyone know of a trick that could be used to force loading some blocs, or at least disable the message display and key-press, because that's really a stupidly retarded idea that makes using Sedoric far from seamless...
Suggestion are welcome!
Re: INSERT MASTER DISC IN DRIVE A
Just use Sedoric 3 or 4
Well, on Sedoric 3, André included two "patches", one of them (can't recall which one) stops this request. Look for file like PATCH001 and PATCH002, I think it's the 1st one you have to launch.
Don't ask me why André didn't include those patches by default in Sedoric 3 - the answer might be in Sedoric à Nu, or in old CEO Mags.
Well, on Sedoric 3, André included two "patches", one of them (can't recall which one) stops this request. Look for file like PATCH001 and PATCH002, I think it's the 1st one you have to launch.
Don't ask me why André didn't include those patches by default in Sedoric 3 - the answer might be in Sedoric à Nu, or in old CEO Mags.
Re: INSERT MASTER DISC IN DRIVE A
So, regarding Sedoric, what I'm using is the version that comes with Tap2Dsk, which is basically a "source-codeified" version of Sedoric 3 (without the patches)
I tried the patch earlier, for some reason it did not work, I know the patch was applied because I got "Mst 3" in the text.
Does Sedoric 4 use the same (or less) disk space?
I tried the patch earlier, for some reason it did not work, I know the patch was applied because I got "Mst 3" in the text.
Does Sedoric 4 use the same (or less) disk space?
Re: INSERT MASTER DISC IN DRIVE A
I can't recall much about Sedoric 4 as Michel did most of the coding work, I think it uses one more bank so less room on disk I suppose.
About Tap2dsk, can't tell you much... Maybe a minimal Sedoric designed to be better than slave disks that do require master disks, but not to have the full OS? (just me guessing).
Maybe it's time for a new version?
About Tap2dsk, can't tell you much... Maybe a minimal Sedoric designed to be better than slave disks that do require master disks, but not to have the full OS? (just me guessing).
Maybe it's time for a new version?
Re: INSERT MASTER DISC IN DRIVE A
The version that comes with Tap2Dsk *is* a master version, else the SYS, INIT, MOVE, etc... commands would not be working.
Do you know where I can find a patched version of Sedoric 3, or at least a version of Sedoric 3 with the patching routine, known to be working?
If you find one, I could update the version from Tap2Dsk to use that fixed one.
Do you know where I can find a patched version of Sedoric 3, or at least a version of Sedoric 3 with the patching routine, known to be working?
If you find one, I could update the version from Tap2Dsk to use that fixed one.
Re: INSERT MASTER DISC IN DRIVE A
Attached is Sedoric 3.006 + patches.
I don't remember where from I've got the file, but it seams to be very OK .
It contains PATCHHELP.001 and PATCHHELP.002 which expain the purpose of the patches and the addresses where they are applied - type the name to run it - it will display the info ot the screen.
I think you need 001 (as Symoon already said).
Because patches only modify code in RAM, it's interesting how to transfer the patched code to disk?
I don't remember where from I've got the file, but it seams to be very OK .
It contains PATCHHELP.001 and PATCHHELP.002 which expain the purpose of the patches and the addresses where they are applied - type the name to run it - it will display the info ot the screen.
I think you need 001 (as Symoon already said).
Because patches only modify code in RAM, it's interesting how to transfer the patched code to disk?
Re: INSERT MASTER DISC IN DRIVE A
The patch is extensively described in Sedoric à Nu page 475-477.
Patched version is available on Oric.org:
https://www.oric.org/index.php?page=sof ... um_log=741
BTW I found back an "optimized" version I made long ago. I'm copying it here for you to check if it sounds OK to you... IIRC, it saved something like 14 bytes just by ordering the commands differently (it also used another Overlay RAM location, the initial goal was to fit at best in the small remaining gaps in the Kernel to save room for Sedoric 4 new commands)
"Patch 001 Super optimisé"
Patched version is available on Oric.org:
https://www.oric.org/index.php?page=sof ... um_log=741
BTW I found back an "optimized" version I made long ago. I'm copying it here for you to check if it sounds OK to you... IIRC, it saved something like 14 bytes just by ordering the commands differently (it also used another Overlay RAM location, the initial goal was to fit at best in the small remaining gaps in the Kernel to save room for Sedoric 4 new commands)
"Patch 001 Super optimisé"
Code: Select all
F16B 8A
F16C 48
F16D 20 06 EA JSR EA06
F170 F0 1E BEQ F18F si c'est "3" (Z=1) on ne demande rien
F172 A2 0C LDX $0C restaure les 5 octets
F174 20 6C D3 JSR D36C d'origine (voir en 416D)
F177 EA NOP
F178 …
EA06 A0 02 LDY $02 secteur n°02
EA08 AD 0A C0 LDA C00A le drive système
EA0B 8D 00 C0 STA C000 devient le drive actif
EA0E A9 00 LDA $00 piste n°00
EA10 20 60 DA JSR DA60 chargée dans BUF2
EA13 AE 16 C2 LDX C216 drapeau Master/Slave
EA16 D0 05 BNE EA1D c'est pas une Master: on sort avec Z=0
EA18 AE DA C2 LDX C2DA n° de version
EA1B E0 33 CPX $33 est-ce "3"
EA1D 60 RTS
Re: INSERT MASTER DISC IN DRIVE A
Well, attached you can find archive with:
- 'sedoric3.h' - patched as per PATCH.001, only chunk 1 and 2 are changed, because 3 is not necessary IMO.
Use this file to replace in OSDK - public/pc/tools/osdk/main/tap2dsk/sources/sedoric3.h and rebuild tap2dsk tool. You can check differences with any compare program. If you decide to update OSDK, may be it will be useful to make this patch more user friendly with adding new command line option, which controls the generated DSK file to have or not the patch - just an idea...
- 'testsed3.dsk' - simple BASIC demo, which uses MOVE command without 'INSERT MASTER...' message, generated with above modified tap2dsk sources.
I hope this will help.
- 'sedoric3.h' - patched as per PATCH.001, only chunk 1 and 2 are changed, because 3 is not necessary IMO.
Use this file to replace in OSDK - public/pc/tools/osdk/main/tap2dsk/sources/sedoric3.h and rebuild tap2dsk tool. You can check differences with any compare program. If you decide to update OSDK, may be it will be useful to make this patch more user friendly with adding new command line option, which controls the generated DSK file to have or not the patch - just an idea...
- 'testsed3.dsk' - simple BASIC demo, which uses MOVE command without 'INSERT MASTER...' message, generated with above modified tap2dsk sources.
I hope this will help.
- Attachments
-
- sed3-patch-001.zip
- (57.3 KiB) Downloaded 508 times
Re: INSERT MASTER DISC IN DRIVE A
Sorry, I was gone for the week-end (family celebration thingy), I'll take a look later.
I did try to patch the .h already a few days ago, but it did not work, I guess I fumbled when I did it.
For reference my version looked like that:
Not sure what I did wrong, but I'll try yours, and if that works, that will be the new OSDK Tap2Dsk version
I did try to patch the .h already a few days ago, but it did not work, I guess I fumbled when I did it.
For reference my version looked like that:
Code: Select all
Line 265:
0x49,0x4E,0x53,0x45,0x52,0x54,0x20,0x4D,0x73,0x74,0x20,0x56,0x33,0xA0,0x41,0x4E, // Sedoric patch 1 (See "Sedoric A Nu", page 477) Replace the "INSERT MASTER" by "INSERT MST V3"
Line 663:
0x20,0x3A,0xE6,0xB0,0xF2,0xEA,0xEA,0xAD,0x0A,0xC0,0x8D,0x00,0xC0,0xA9,0x00,0xA0, // Sedoric patch 1 (See "Sedoric A Nu", page 476)
0x02,0x20,0x60,0xDA,0xAE,0x16,0xC2,0xD0,0x07,0xAE,0xDA,0xC2,0xE0,0x33,0xF0,0x08, // 38 bytes, starting from E6E5
//0xA2,0x0C,0x20,0x6C,0xD3,0x4C,0x72,0xF1,0x4C,0x8F,0xF1,0x20,0x4D,0xE9,0x90,0x09, // ... patch original
0xA2,0x0C,0x20,0x6C,0xD3,0x4C,0x8F,0xF1,0x4C,0x8F,0xF1,0x20,0x4D,0xE9,0x90,0x09, // ...
Line 850:
0x9E,0xD3,0xA2,0x63,0xA9,0x30,0xEA,0xEA,0x4C,0xE5,0xE6,0xC8,0x20,0xE5,0xF1,0x20, // Sedoric patch 1 (See "Sedoric A Nu", page 476)
Re: INSERT MASTER DISC IN DRIVE A
Sorry, not much time for this thread at the moment, but: maybe it should be changed at several places on the disk? From vague memories, there are banks, as well as INIT command (building a new disk), that might duplicate some code.
Also, you can try downloading Sedoric 4 and see if you can find how the PATCH 001 code was intergrated (I'm pretty sur Michel did it).
Also, you can try downloading Sedoric 4 and see if you can find how the PATCH 001 code was intergrated (I'm pretty sur Michel did it).
Re: INSERT MASTER DISC IN DRIVE A
Mmmm I am not sure it is a good idea to patch the OSDK version of tap2dsk... A bug or suggestion should be flagged to the repository where the official versions are maintained by Fabrice Frances, don't you think?