English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. Blitz Basic

 
 
Thread Tools
Old 29 August 2018, 22:07   #1
Havie
Registered User
 
Havie's Avatar
 
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?
Havie is offline  
Old 29 August 2018, 22:16   #2
Daedalus
Registered User
 
Daedalus's Avatar
 
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.
Daedalus is offline  
Old 29 August 2018, 22:40   #3
Coagulus
Gets there in the end...
 
Coagulus's Avatar
 
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!
Coagulus is offline  
Old 29 August 2018, 22:42   #4
Havie
Registered User
 
Havie's Avatar
 
Join Date: Mar 2012
Location: UK
Posts: 1,893
Ok - will try and see! Thanks guys.
Havie is offline  
Old 29 August 2018, 23:14   #5
Havie
Registered User
 
Havie's Avatar
 
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)?
Havie is offline  
Old 29 August 2018, 23:18   #6
Aladin
Registered User
 
Join Date: Nov 2016
Location: France
Posts: 853
a methode:

run >NIL: game
endcli
Aladin is offline  
Old 30 August 2018, 00:04   #7
Havie
Registered User
 
Havie's Avatar
 
Join Date: Mar 2012
Location: UK
Posts: 1,893
Tried but didn't seem to work = argh!!!!!
Havie is offline  
Old 30 August 2018, 01:02   #8
Daedalus
Registered User
 
Daedalus's Avatar
 
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.
Daedalus is offline  
Old 31 August 2018, 00:38   #9
Havie
Registered User
 
Havie's Avatar
 
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?
Havie is offline  
Old 31 August 2018, 00:52   #10
Havie
Registered User
 
Havie's Avatar
 
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!
Havie is offline  
Old 31 August 2018, 01:12   #11
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Havie View Post
Snoopdos told me that I needed diskfonts.library.
...just quickly read this thread and was about to say "diskfonts.library" after your 1st post and before getting to your reply

SnoopDos is essential when working out what's accessed / needed
DamienD is offline  
Old 31 August 2018, 20:32   #12
Havie
Registered User
 
Havie's Avatar
 
Join Date: Mar 2012
Location: UK
Posts: 1,893
Yes - I knew about SnoopDos but have never used it. Obviously, I will again! Thanks.
Havie 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
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

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 09:47.

Top

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