All sorts of loaders...

ZXNet echo conference «code.zx»

From Dmitry Sharikov To All 5 November 1998

Hello dear, All! Folks, has anyone worked with bootloaders? I have a little problem eh I've never encountered her before. For example, I write in BASIC: randomize usr 0 then I write this thing to disk, and then I load it in STS, and I load it at the end the actual bootloader on ASMA, then I correct the launch address, just not “0” I’m correcting ;-) and where there is a space allocated for the address, that is, where “randomize” will go usr". And then I write this BASIC program ;-))) to disk, taking into account the length changes made. Then it’s a small matter, take it and run it, I launch it and what I see is "OK 0:1" ;-))) Attention, question: "Why didn't it start?" PS. I looked at a similar bootloader, everything was exactly the same, with only one the difference is that at least it started ;-) With best wishes, Dmitry.

From Kirill Frolov To Dmitry Sharikov 8 November 1998

Once on 07-11-98 at 01:46:08 someone Dmitry Sharikov wrote to Eudgine Palenock regarding all sorts of loaders... and I decided to intervene. ├┤i Dmitry & Eudgine! DS> I found a solution to the problem, but I did it wrong. I'm in the very first line DS> wrote: 10 RANDOMIZE USR 0 DS> Then I go to STS, correct the address, and then load the bootloader on ASMA to DS> end of line, i.e. after #0d, and then I just write everything down in the same place DS> the most important thing is that the bootloader fits into the rest of the sector. And then, the most DS> the main thing is why this case did not start. I'm at the very end, even after DS> end of the loader, more precisely, I then write AA 80 00, and write it to DS> disk the entire sector. And everything starts, the whole point is that these DS> bytes are not included in the bootloader body, and tr-dos looks for them after the body. IDIOTISM! You should also install protection against mergue and autostart... Isn’t it simpler like this: 1 REM ***************************************************** 2 CLEAR 24575 : RANDOMIZE USR 23872 The first line in the rem assembles the code. Done straight from under zasma or normal assembler...2DmitryLomov: It turns out that STORM is a sax and a masdai ^^^^^^^^^ 2DS: Explain why write RAND USR 0 when you can substitute normal number??? Or why attach nonsense to programs? Xorks, who then don’t go on scorps, etc. ??? what is this? To increase glitches and increase the difficulty of opening your program??? W!7h Be$7 W!$he$, FK0.

From Vladimir Klymus To Sergey Kulkov 15 November 1998

Hi, Sergey! SK> Well, I don’t know that myself. But I recommend something else SK> option: load STS, drop into BASIC, clean everything and SK> write the BASIC part of the bootloader. Then back to STS, add SK> codes, again in BASIC and write to disk, indicating the line SK> autostart. That's all... Why be so perverted? I've had all the code texts in BASIC for about two years now. programs looks something like this: ORG #8000 WORK #5D3B DB 0.10 ;line number DB 0,0 ;string length DB #F9,#C0,#30 ;"RANDOMIZE USR 0" DB #0E,0,0,#47,#5D ;true start address [the bootloader text itself] DB #0D ;Enter DB #80,#AA ;separator DB #0A,0 ;parameter LINE I assemble the program, upload the code, rename it to *.B, cut the length by four bytes and that's it! Best regards, Vladimir.