Author: LST (195.115.40.97)
Date: 09-26-2001 16:00
If I rememberer well (10 years ago), the magic number is $1234... just that simple...
Remember this is a 12-years old shit basic code I wrote in a hurry, because a friend of mine wanted to grab files from my ST to his PC! That's all!
I know the checksum thing (guess what: I've coded bootloaders and er... emmmm.. vir... no no no it was only jokes, not bad things) but if only I could put my hands on the second (GEM) version of this thing, I would have shown you! ;)
But unfortunately, it seems to be lost somewhere in time. Not on my hard disks, for sure. I also rememberer it was easy to recalculate the checksum, as many demo coders, virus coders, anti-virus coders and so on made executable boot sectors!
I propose a test: format a floppy using a DOS-compatible TOS (1.4+/2.x+) or a MS-DOS machine, and get the bootsector to review it (no code within, but the bytes I talked before should be present). Grab a program which makes an executable bootsector (such as an antivirus). Get the bootsector and compare it to the first one, byte per byte. Make the necessary changes to keep the code, and make the disk to be DOS readable. Boot up with the floppy... and tell me what the result is!
I pretty sad to say that I haven't coded on my ST for a while (for years I should say), so I've lost a lot of knowledge in assembly or even GfA Basic. But the principles remain the same, so I'm quite sure of what I'm saying! If someone has the proof of the contrary, it'll be OK for me! Maybe my memory is too old to remember correctly now, I'm 25, I'm becoming older and older everyday, boohoohoo....
But I'm glad to see that my old piece of code had some interest for someone! :)
Regards,
LST
|