Re: Understanding and Optimization of OS 4.1 for Classics
Posted: Sat Jun 23, 2012 11:07 pm
Hi Folks! This is an update to this thread.
I've installed a compatible 15K SCSI Drive (a Maxtor 36GB U320 off _bay for about 11 salad leaves US) and it is working fine; there were some issues with the U160 to U320 communication with random "block errors," but they went away when I replaced the 18GB Atlas V drive with the 36GB one. No I can't use both, my Amy is filled with: floppy (still a requirement), CD/DVD-R/W, SCSI card reader (more useful in OS3.9), the 160 GB SATA drive hanging off my sii3114ide device, and the "new" drive. Obvious changes (speed increases) to WorkBench, but may be due to larger on-board cache. SWAP speed seems about the same. On a lark, I tried a SSD via 68-pin SCSI->ACARD SCSI_IDE->IDE-to-SATA-> SATA SSD, and the speed was actually slower. Probably a lot of overhead in all the little electronic gizmos. But this (the 36GB U320 15K), as I figure it, is the fastest route for a swap partition given the nature of the present classic hardware.
With a few tweaks along the way, I can get in the mid-70 MB range for memory left behind after OS 4.1 loads -- leaving room for a nice display. As a side note, I see a lot of folks upping their program stacks for reasons of compatibility vs. not crashing. The stack is not memory used by the program for executing instructions or data, it is an area of memory set aside to keep track of "the stack;" the area of memory where addresses are stored when a program calls a subroutine. The main program keeps pointers to the addresses so that when a return from subroutine instruction occurs, the program knows where to go. Something like, "I'm in the main program and I need to call a subroutine, I push my current address on the stack and jump to the subroutine; I need to end the subroutine and return to the main program, so I pull that address off the stack. If you use a lot of subroutines, use a larger stack, i.e., if you are the programmer set an appropriate stack. If you are the end user, don't fiddle. If you use recursive programming, then you need to run a stack checker to prevent you from "popping" your stack and ending up lost in space; recursive routine call themselves again-and-again. You could use a stack checker with every program, and just bebop up an error like, "Sorry Dude, no RAM left for your stack!" As I recall, Turbo Pascal did this.
I'm not a UAE user (why emulate hardware on a classic machine that already has it), but some older (KS 1.2/1.3) programs will run on it without degrading your system to ground zero. I've found that WHDLoad works better under older OS's. Because of the SCSI CF card read/writer, I have set up CF cards with just OS 3.1, 3.5 and 3.9; I just slip in the OS I want and I'm right there. I've only WHDLoad'ed my own original disks and found a few of them just crash regardless; and some just suck, I mean don't stand up to the interest they used to hold. I am not much of a gamer, but the OS 4.1 version of the Quake engine does a great job with that program. Sorry to get off thread. And if the Amiga uses its stack differently than the rest of the world, please help out my poor brain cells.
Dan
I've installed a compatible 15K SCSI Drive (a Maxtor 36GB U320 off _bay for about 11 salad leaves US) and it is working fine; there were some issues with the U160 to U320 communication with random "block errors," but they went away when I replaced the 18GB Atlas V drive with the 36GB one. No I can't use both, my Amy is filled with: floppy (still a requirement), CD/DVD-R/W, SCSI card reader (more useful in OS3.9), the 160 GB SATA drive hanging off my sii3114ide device, and the "new" drive. Obvious changes (speed increases) to WorkBench, but may be due to larger on-board cache. SWAP speed seems about the same. On a lark, I tried a SSD via 68-pin SCSI->ACARD SCSI_IDE->IDE-to-SATA-> SATA SSD, and the speed was actually slower. Probably a lot of overhead in all the little electronic gizmos. But this (the 36GB U320 15K), as I figure it, is the fastest route for a swap partition given the nature of the present classic hardware.
With a few tweaks along the way, I can get in the mid-70 MB range for memory left behind after OS 4.1 loads -- leaving room for a nice display. As a side note, I see a lot of folks upping their program stacks for reasons of compatibility vs. not crashing. The stack is not memory used by the program for executing instructions or data, it is an area of memory set aside to keep track of "the stack;" the area of memory where addresses are stored when a program calls a subroutine. The main program keeps pointers to the addresses so that when a return from subroutine instruction occurs, the program knows where to go. Something like, "I'm in the main program and I need to call a subroutine, I push my current address on the stack and jump to the subroutine; I need to end the subroutine and return to the main program, so I pull that address off the stack. If you use a lot of subroutines, use a larger stack, i.e., if you are the programmer set an appropriate stack. If you are the end user, don't fiddle. If you use recursive programming, then you need to run a stack checker to prevent you from "popping" your stack and ending up lost in space; recursive routine call themselves again-and-again. You could use a stack checker with every program, and just bebop up an error like, "Sorry Dude, no RAM left for your stack!" As I recall, Turbo Pascal did this.
I'm not a UAE user (why emulate hardware on a classic machine that already has it), but some older (KS 1.2/1.3) programs will run on it without degrading your system to ground zero. I've found that WHDLoad works better under older OS's. Because of the SCSI CF card read/writer, I have set up CF cards with just OS 3.1, 3.5 and 3.9; I just slip in the OS I want and I'm right there. I've only WHDLoad'ed my own original disks and found a few of them just crash regardless; and some just suck, I mean don't stand up to the interest they used to hold. I am not much of a gamer, but the OS 4.1 version of the Quake engine does a great job with that program. Sorry to get off thread. And if the Amiga uses its stack differently than the rest of the world, please help out my poor brain cells.
Dan