How to set BOOT file on uIEC/IDE+CF?

Started by MIRKOSOFT, January 26, 2011, 02:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MIRKOSOFT


Hi!


I have new uIEC/IDE+CF.
DOS message:
73,UIEC V0.9.1,00,00


I set the device number to #8.
So, I want to use C128 option: BOOT any file from this device.


ATM I have connected only CompactFlash card, but plan also HDD.


So, how to set BOOT FILE?
(C128 AUTO-BOOT PRG from 1581 demodisk or RAMLink utilities works not)


Also I need any command summary of UIEC DOS, 'cause some works, some not (mean Jiffy and CMD commands).


And I'm not sure about connecting HDD - Jim Brain wrote that it must be wired +5V to the same PSU like has HDD.
Also, how it works if is connected HDD+CF or HDD+HDD, two partitions or two devices?


Many many thanks.


Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

http://www.mirkosoft.sk

Hydrophilic

The BOOT command sends low-level block read commands (U1 cc dd tt ss) to the device, so you must first have a disk image "attached".  One way to do this is to issue the "CD" command.  For example,


OPEN1,8,15,"CD:MY DISK.D81":CLOSE1:BOOT


Since I don't own a 1581, I don't think I've ever used the AUTOBOOT MAKER from the 1581 demo disk...

But the 1571 Test/Demo Disk also has AUTOBOOT MAKER, and it works fine for D64 or D71 disk images.

I hope that's helpful!
I'm kupo for kupo nuts!

bacon

The C128 autoboots a file when it finds the signature "CBM" (hex numbers $43, $42, $4D) on track 1, sector 0 of the disk. If it does, it executes a machine language program in the same sector pointing to the program you wish to autostart. This means that you need write access on a track/sector level on the uIEC/SD2IEC if you want to autoboot something directly from the CF card's filesystem, which I have no idea if it works. Autobooting a program from a disk image should work.

The easiest way to create an autoboot disk that I've come across is the autoboot tool in The Servant. The Servant is an excellent tool to have in the internal option ROM socket in the C128, with its disk and file copier, SEQ file reader, disk browser, etc.

Edit: Hydrophilic beat me to it with better info, but what I said about The Servant still stands.
Bacon
-------------------------------------------------------
Das rubbernecken Sichtseeren keepen das cotton-pickenen Hands in die Pockets muss; relaxen und watschen die Blinkenlichten.

MIRKOSOFT


Hi!


In the command summary I found:


- U<Shift-J>
  Real hard reset - this command causes a restart of the AVR processor
  (skipping the bootloader if installed). <Shift-J> is character code 202.


- there is written "BOOTLOADER IF INSTALLED" - so, whean means this and also how to install BOOTLOADER?


Thank you.


Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

http://www.mirkosoft.sk

bacon

Jim Brain is probably the right person to answer this but I'll have a go at a wild guess. The bootloader mentioned in the SD2IEC documentation probably refers to function internal to the SD2IEC/uIEC itself, perhaps a bootloader that loads an update to the uIEC firmware. It most likely has nothing to do with the C128 autoboot feature.
Bacon
-------------------------------------------------------
Das rubbernecken Sichtseeren keepen das cotton-pickenen Hands in die Pockets muss; relaxen und watschen die Blinkenlichten.

Hydrophilic

I will second that opinion, as I am currently working on the same thing... there is an option to upgrade the firmware (EEPROM) if a special file found during start-up.... this is specific to the uIEC and has nothing to do with Commodore 128 BOOT command.
I'm kupo for kupo nuts!