29 August 2018, 22:07 | #1 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
How to run Blitz Game from bootable ADF
I'm struggling to make a bootable adf for the game I am making. Runs fine from HD but when I put it on to an installed dfo: with a startup-sequence in s: and loadwb in c: and mathstran in libs: it doesn't work! I guess I might need something else in the c: and libs:
Can someone do an idiots guide to getting this to work please? |
29 August 2018, 22:16 | #2 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
What the code needs to run depends on what function it uses, but in general, if you're not using the OS it should use very little else. What you could do is run SnoopDOS before you run it from the hard drive and see what it accesses, then copy whatever it is over to the floppy.
It could be something like a font missing, or an image or other asset that's at a different relative path on the floppy. |
29 August 2018, 22:40 | #3 |
Gets there in the end...
Join Date: Sep 2005
Location: Wales
Posts: 862
|
Snoopdos is the thing to use for sure. Was ultra annoying trying to locate the issue without it.
Turned out in my example I'd used the Print command and needed diskfont! |
29 August 2018, 22:42 | #4 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Ok - will try and see! Thanks guys.
|
29 August 2018, 23:14 | #5 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Snoopdos told me that I needed diskfonts.library. Game now boots but how do I stop workbench showing up first (I think I need Loadwb so I run the game via execute)?
|
29 August 2018, 23:18 | #6 |
Registered User
Join Date: Nov 2016
Location: France
Posts: 853
|
a methode:
run >NIL: game endcli |
30 August 2018, 00:04 | #7 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Tried but didn't seem to work = argh!!!!!
|
30 August 2018, 01:02 | #8 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Does the game run ok from a Shell window? LoadWB opens the Workbench itself, it's not needed for the game unless you explicitly use Workbench's features. If it runs from the Shell, it should run from the Startup-Sequence, though you don't actually need the run >NIL: or EndCLI bits for now so leave them out to keep things simple.
|
31 August 2018, 00:38 | #9 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Yep - nearly got this working. Took your advice and removed loadwb (thought I needed it) and the game loads. Still get a workbench bar appear at top of the screen. How do I stop this?
|
31 August 2018, 00:52 | #10 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Success! Needed to create env: in ram (nicked teh code from the workbench disk) and have added some test (echo) as the game loads. Now just copying adf to my real 1200 to test!
|
31 August 2018, 01:12 | #11 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
31 August 2018, 20:32 | #12 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Yes - I knew about SnoopDos but have never used it. Obviously, I will again! Thanks.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A script to create a bootable floppy from Blitz Basic 2 iso | TenLeftFingers | support.Apps | 17 | 20 November 2016 21:09 |
Blitz Basic 2 game will not run from floppy | Bastich | Coders. General | 2 | 15 January 2015 17:03 |
ADF-Blitz problems | keitha1200 | support.Apps | 3 | 18 May 2012 18:28 |
How to create a bootable crossdos adf? | MazinKaesar | support.WinUAE | 5 | 24 February 2008 02:28 |
Making bootable MS-DOS disk as ADF file for multi-level emulation | Minuous | support.Apps | 13 | 18 June 2003 09:01 |
|
|