Home  Articles  Programs 

LUnix Autoboot Disk Maker for C128

Title:LUnix Autoboot Disk Maker for C128
 Autolunix program is a Basic v2.0 program to make a LUnix disk bootable.
Filename:autolunix.prg (Click to download)
Category:Utility
Platform:C128
Language:Basic + ML
Date:1997.03.24
Size:1258 bytes
Programmer:İlker Fıçıcılar


Description:


Autolunix program is a Basic v2.0 program to make a LUnix disk bootable.

Its usage is simple. Just load autolunix.prg file and run it. It will check the boot-sector to see whether it is allocated. If the boot-block (track 1 sector 0) is not free it stops and warns you. If you don't bother to lose data or you know what you're doing, type "cont" and press "return" to continue the process.

After writing the boot-block successfully you can test it by pressing the reset button in your C128 with this boot disk in the drive #8. Unless there is a problem, the bootstrap code in the C128 will load the boot-block into the $00b00 address, and executes the code in this block. The present code loads the file "lunix.sys" first with fast load routines of C128, then it writes autostart information into the $8000 area. And, finally it turns the 1571 into 1541 emulation mode and switches to C64 mode. The C64 mode checks the autostart information and jumps to $8009. The code at this location initializes the I/O and memory, deletes the autostart information and jumps to the $8c3a address, which is starting address of LUnix OS. Then, LUnix will gain control.

Tags:1571, C128, C64, LUnix, OS

C64 Projects Twitter Page

İlker Fıçıcılar's CBM Page