Welcome, Guest. Please login or register.

Author Topic: Workbench 1.3/2.0 dual boot  (Read 354 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline RiPTopic starter

  • Full Member
  • ***
  • Join Date: Oct 2016
  • Posts: 168
    • Show only replies by RiP
Workbench 1.3/2.0 dual boot
« on: December 29, 2016, 09:33:42 AM »
Is it possible to boot each Workbench 1.3 & 2.0 from hard disk with ROM switch?
 

Offline Oldsmobile_Mike

Re: Workbench 1.3/2.0 dual boot
« Reply #1 on: December 29, 2016, 10:48:32 AM »
Sure. You'll need more than just a ROM switch (like a heavily modified Startup-Sequence), but it's doable.
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline RiPTopic starter

  • Full Member
  • ***
  • Join Date: Oct 2016
  • Posts: 168
    • Show only replies by RiP
Re: Workbench 1.3/2.0 dual boot
« Reply #2 on: December 29, 2016, 11:33:54 AM »
How? :hammer:
 

Offline Pat the Cat

Re: Workbench 1.3/2.0 dual boot
« Reply #3 on: December 29, 2016, 02:24:13 PM »
Use and IF THEN ELSE combination on the Version command.

Would look something like (assuming you have 2 directories in the root with different versions of Workbench, probably obviously lots more than this but)...

If Version = 34
Then Assign SYS: Workb1.3
CD Workb1.3
Else
Assign SYS: Workb2.0
CD Workb2,.0
ENDIF
execute s/startup-2  ; you would have a different startup-2 file for each version
Loadwb                   ; Optional, you cold do that from within the s/startup2 file
endcli                      ;
.
The version numbers is wrong, it will be a value returned by the Version command. But that's a rough idea of how you could code it, in AmigaDOS.

SYS: might not like being reassigned in that way - it is a shorthand for "disk you have booted AmigaDOS from". Even with the assigns removed, it should still work.

I suspect it would be more complicated than that, as you would have to reassign L, DEVS, LIBS and C as well, to point at the right root directories, and you might have to force reload Libs, Devs and L drawer as well (I think L and Devs are forceloaded when AmigaDOS starts up, which might end up with the wrong versions being used on the OS you are switched to.

It is way easier with Sideways ROM on an accelerator, but that means a reboot if the OS is pointing at the wrong boot area. You might have to adopt a similar method.
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi