English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 26 September 2023, 09:04   #1
Steam Ranger
Registered User
 
Steam Ranger's Avatar
 
Join Date: May 2022
Location: Adelaide, South Australia, Australia
Posts: 208
Workbench boot vs Direct boot

What are the advantages of a game or application booting directly, as compared to being run from Workbench?
Steam Ranger is offline  
Old 26 September 2023, 10:04   #2
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,648
More available RAM maybe?
derSammler is offline  
Old 26 September 2023, 11:16   #3
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
It depends. Do you talk about a floppy disk game or something else? Does the game takeover the system or is it system friendly? On what system (requirements) should it run?
daxb is offline  
Old 26 September 2023, 11:45   #4
Seiya
Registered User
 
Seiya's Avatar
 
Join Date: Nov 2014
Location: Italy
Posts: 2,365
loading from workbench you lose memory and if you have only 1 MB maybe you have no chance to run a game that with 1 MB start from direct Boot.
Some games that require to start from WB, this latter usally is a minimal workbench with few libraries and few commands and simple startup-sequence.
Seiya is offline  
Old 26 September 2023, 12:41   #5
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,231
And some games can be installed on harddisks. And some people want to trigger a useless discussion.
Thomas Richter is offline  
Old 26 September 2023, 15:45   #6
huggy70
Registered User
 
Join Date: Jan 2023
Location: Germany
Posts: 61
>> And some people want to trigger a useless discussion

You mean like that endless debate in "asm vs c" thread?
huggy70 is offline  
Old 26 September 2023, 20:03   #7
zx80
Registered User
 
Join Date: May 2022
Location: Switzerland
Posts: 107
Quote:
Originally Posted by huggy70 View Post
>> And some people want to trigger a useless discussion

You mean like that endless debate in "asm vs c" thread?
zx80 is offline  
Old 26 September 2023, 21:05   #8
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,883
Quote:
Originally Posted by Thomas Richter View Post
And some games can be installed on harddisks. And some people want to trigger a useless discussion.
Quote:
Originally Posted by huggy70 View Post
You mean like that endless debate in "asm vs c" thread?


malko is offline  
Old 27 September 2023, 02:58   #9
Steam Ranger
Registered User
 
Steam Ranger's Avatar
 
Join Date: May 2022
Location: Adelaide, South Australia, Australia
Posts: 208
I'm asking this question as it seems that most games boot from floppy disk. Workbench is much more convienient, so it leads me to wonder why they perceive direct booting as a better thing?
Steam Ranger is offline  
Old 27 September 2023, 05:38   #10
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by Steam Ranger View Post
I'm asking this question as it seems that most games boot from floppy disk. Workbench is much more convienient, so it leads me to wonder why they perceive direct booting as a better thing?

There can be more than one reason, depending on the type of game.

As you've been told, if you have an Amiga with 1MB, after you run the Workbench you're left with about 800/900k, so any games that require more than 900k won't work.

Same for an A1200, some AGA games require more RAM than the Workbench has left.

Another reason is that some applications run from the workbench might dirty Ram and thus get artefacts or game lock-ups.

Then there are the NoDOS games where you cannot run them from the Workbench unless you use WHDLoad.

Finally, there are games that cannot be installed on HD because they require game data 'only' from the floppy.
AMIGASYSTEM is offline  
Old 27 September 2023, 11:12   #11
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
Nowadays there is no need for games on floppy disks. If someone does it than it was/is a conscious decision because of nostalgic reason or such. Back in the days the situation was a bit different.
daxb is offline  
Old 27 September 2023, 12:09   #12
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
Quote:
Originally Posted by Steam Ranger View Post
What are the advantages of a game or application booting directly, as compared to being run from Workbench?
You're asking the wrong question (mostly). (But let me answer in the spirit I think it was meant.)
Those two methods are (usually) not the same thing. One uses the OS for its functions, the other is an OS in and of itself (albeit minimal).
(Yes, there are exceptions; you can be booting and trackloading fully using the OS, but you're still not letting the OS complete its bring-up and there is no interface for triggering a start of a bootblock-loader floppy from a fully booted OS (well, I bet there exists some tool that will try and do just that, but there is no official one)).

They're different animals, and the decision of what you can do with them is not up to you, that was made by the developer when the game was made. If you want to see an extreme example of this, you can look at Dragon's Lair which actually replaces the Kickstart if you have an A1000 (AFAIK you can skip that if you want to and have extra memory).

The advantage of the bootblock-loader is to treat the Amiga mostly like a games console: You know exactly how much memory you have and you do not have to give up any of that to the OS. The OS can take up arbitrarily much memory and it can be hard to know how much memory you can expect to be free so you might have to be a bit conservative in your estimates or up your memory requirements when working with the OS. You can also use your own custom disk format that can be faster/easier/more available space than the official OFS.
The advantage of an OS based game is that you get fixes and patches in place before being started, which can boost performance majorly for those with more than a minimal spec.

Addendum:
Strictly speaking, if a developer wanted to go the extra mile (it would be interesting to know if any did), you can have a floppy with a fully valid filesystem, having an executable program on that you can start from the OS, that would then take over the OS and then load the bootblock-loader(or replicate its functionality) and start from there as if you booted from it - basically what I described as the tool that might exist.
If this sounds familiar to you, then that is in large parts what WHDLoad does...

Last edited by NorthWay; 27 September 2023 at 12:19.
NorthWay is offline  
Old 27 September 2023, 12:18   #13
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,883
Quote:
Originally Posted by NorthWay View Post
[...] Strictly speaking, if a developer wanted to go the extra mile (it would be interesting to know if any did), you can have a floppy with a fully valid filesystem, having an executable program on that you can start from the OS, that would then take over the OS and then load the bootblock-loader(or replicate its functionality) and start from there as if you booted from it - basically what I described as the tool that might exist.
If this sounds familiar to you, then that is in large parts what WHDLoad does...
But you won't use WHDLoad is you have not upgraded your Amiga.
Thus the most common solution that consisted to take over the system and boot directly to have access to the maximum of the computer resources (and maybe also to facilitate the copy protection mechanism in some parts).
malko is offline  
Old 27 September 2023, 13:12   #14
Steam Ranger
Registered User
 
Steam Ranger's Avatar
 
Join Date: May 2022
Location: Adelaide, South Australia, Australia
Posts: 208
Quote:
Originally Posted by daxb View Post
Nowadays there is no need for games on floppy disks.
Nowadays there is no need for Amigas. But we keep them around for nostalgia, and floppy disks are mostly used for a similar job, considering a GOTEK is so much better.
Steam Ranger is offline  
Old 27 September 2023, 15:02   #15
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,498
Quote:
Originally Posted by daxb View Post
Nowadays there is no need for games on floppy disks. If someone does it than it was/is a conscious decision because of nostalgic reason or such.
Hmm... I wouldn't agree here. IMHO there are more than nostalgic reasons. See below.

Quote:
Originally Posted by NorthWay View Post
The advantage of the bootblock-loader is to treat the Amiga mostly like a games console: You know exactly how much memory you have and you do not have to give up any of that to the OS.
I would also recommend the bootblock-loader and custom trackloader approach whenever you take over the system and still want to load data from disk at a later point. It is the only clean and mostly safe way.

Only at the time when booting the system out of the boot block, it is in a defined state where all potential extra hardware the user might have installed is reset and doesn't cause any trouble (like interrupt storms).

Quote:
The advantage of an OS based game is that you get fixes and patches in place before being started, which can boost performance majorly for those with more than a minimal spec.
Yes. Every high performance game that is not targeted at A500/1MB (or maybe even A1200 base version), like a flight simulator or FPS, should use the OS to get access to all resources (caches, extra RAM, graphics cards, network). It will also most likely benefit from a hard disk installation.

Quote:
If this sounds familiar to you, then that is in large parts what WHDLoad does...
WHDLoad can be nice for old games, but when you write a new game, why don't you fix it, so it doesn't need workarounds like WHDLoad?

Many people use UAE, Gotek, Minimig or other FPGA clones and can conveniently work with ADF files. Although putting a disk into my A3000 or A4000 and quickly booting a game is no problem either. Loading times, especially from newer titles, are neglectable.

For all these reasons I like to make custom trackloader NDOS games as ADF.
phx is offline  
Old 27 September 2023, 15:12   #16
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
You can replace "nowadays" with "since the nineties". Do you want to code a game for Amiga?
daxb is offline  
Old 27 September 2023, 15:25   #17
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,596
TCD is online now  
Old 27 September 2023, 19:47   #18
huggy70
Registered User
 
Join Date: Jan 2023
Location: Germany
Posts: 61
I remember those days when harddisks where some unknown alien artifact and booting into workbench had to be avoided because it was a pain in the b** to boot (and to use IMO) just with floppy drives.

Slap in the disk and go...
Those where the days
huggy70 is offline  
Old 27 September 2023, 20:19   #19
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,007
Quote:
Originally Posted by huggy70 View Post
I remember those days when harddisks where some unknown alien artifact and booting into workbench had to be avoided because it was a pain in the b** to boot (and to use IMO) just with floppy drives.

Slap in the disk and go...
Yeah, I think the answer to the original question is this simple, there's no need to make up other theories. People just didn't have harddisks back in the day when Amiga was the most popular and when most games were released for it. It was just an A500 with a floppy drive or two, and nothing else for the majority. It would have been waste of time and resources to load WB first and then a game.

Harddisks started to get more popular only after A1200 was released, and then booting from floppies started to be pain in the ***.
jPV is offline  
Old 28 September 2023, 07:47   #20
Bruce Abbott
Registered User
 
Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,575
Quote:
Originally Posted by Steam Ranger View Post
I'm asking this question as it seems that most games boot from floppy disk. Workbench is much more convienient, so it leads me to wonder why they perceive direct booting as a better thing?
Direct booting is more convenient. All you have to do is turn on (or reset) the computer, and insert the disk. If the game is controlled with a joystick you don't even need to touch the mouse - just grab that stick and get ready for some action!

Quote:
Originally Posted by jPV
People just didn't have harddisks back in the day when Amiga was the most popular and when most games were released for it. It was just an A500 with a floppy drive or two, and nothing else for the majority. It would have been waste of time and resources to load WB first and then a game.
True. A custom trackloader could also be much faster and achieve higher capacity, and make it harder for people to make illegal copies.

Quote:
Harddisks started to get more popular only after A1200 was released...
However that didn't necessarily make booting from floppy disk redundant. Hard drives had limited storage, so there were only so many games you could put on them. Multi-disk games often had a fairly involved installation procedure, which could fail for a variety of reasons. The user may have had a bunch of stuff loaded that ate into memory and/or was incompatible with the game. Boot from a floppy and none of that was an issue.

If I boot my A1200 off the hard drive with the accelerator card disabled (necessary to run stuff that doesn't like the 030, FastRAM etc.) I only have 600k of free memory out of 2MB.
Bruce Abbott is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A1200 does not boot to Workbench Loki762 support.Apps 5 17 April 2020 14:46
Help - Workbench 3.1 error during boot Immortal support.Other 12 11 December 2018 18:29
Can the ACA500 boot Workbench 1.3 from CF gurth support.Hardware 2 02 March 2014 20:09
How to boot up with 3.1 Workbench install disk? Van Denhawk New to Emulation or Amiga scene 8 29 May 2011 18:26
Best way to boot direct to AIAB or other front end? buckrogers New to Emulation or Amiga scene 3 08 January 2007 21:35

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:14.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11683 seconds with 13 queries