1 (edited by castingflame 2019-09-10 09:06:36)

Topic: [SOLVED] Struggling to get autoboot.bas working.

I have now successfully upgraded my divMMC enJOY min from 0.8.5 to 0.8.7 to enable me to use the autoboot feature.

I wish to get a tap file to auto load from a cold boot but I can not even get the autoboot.bas running. Could someone please check my procedure.



From what Info have managed to scavenge from various places I am doing the following.


1.     Edited    /SYS/CONFIG/ESXDOS.CFG   and set  AutoBoot=1     (Using Notepad++)
2.     Booted my divMMC.  NMI'ed to the /SYS directory   then hit the divMMC reset button.
3.     Created a hello world basic listing ... 

10 CLS
20 PRINT " Hello World! ";
20 GOTO 10

4.     Issued the command     .tapeout AUTOBOOT.TAP             
5.     Issued the command     SAVE "AUTOBOOT.BAS" LINE 10
6.     Issued the command     .tapeout -c AUTOBOOT.TAP           <<<<<< tried with and without this line.
7.     Done a cold boot on the speccy.


As I am new to using esxDOS outside of the NMI browser I believe I may be getting the .tapeout bit wrong.


I managed to bugger it up that bad on one attempt I left corrupted weird directories! I formated the card and started again smile




Once I get the hello world working I then wish to load a .TAP file that will live in the /DEV directory.



All help appreciated!



Jaqen Dax (on FB)

2 (edited by Luzie 2019-09-09 18:20:50)

Re: [SOLVED] Struggling to get autoboot.bas working.

Dear castingflame,

I´m sure forum member Spezzi63 will help you out soon. As far as I know, he managed to get autoboot.bas working:-)

What would you like to load from /DEV directory? A .TAP-file containing a BASIC Loader or containing Code?

Are you try to develop on real hardware? I think it´s more comfortable to develop and test on emulators before testing it on "the real thing".

Not yet quite complete what you want, but have a look at development of "new NMI-Browser":

http://board.esxdos.org/viewtopic.php?id=94

Here you can define a "Fast-ramp loader" File (with Symbol-Shift + F).
With this set: Just press NMI and F and this file is loaded instantly.

3 (edited by Spezzi63 2019-09-09 18:32:59)

Re: [SOLVED] Struggling to get autoboot.bas working.

Hi castingflame and Luzie  wink
My small example of an autoboot.bas :

10 CLS
20 PRINT " Hello World! "
30 PAUSE 0
50 .cd dev
60.tapein manic.tap
70 LOAD ""
90 STOP
100 SAVE *"autoboot.bas" LINE 10

4 (edited by castingflame 2019-09-10 09:10:34)

Re: [SOLVED] Struggling to get autoboot.bas working.

Thank you Spezzi63, it is appreciated.

My issue yesterday was not understanding that I needed the * when saving. I then started clutching at straws using .tapeout!

I am now up and running autobooting away like a good un' (with the kind help of Robin VG). This will help take a few repetitive & time wasting steps out of my hardware project that is for sure.



I have looked at the release notes with the change log in them and have a copy of some commands from one of Bens divMMC interfaces. Is there anymore information out there that I would find of use?




Q & A  (Sorry for the lack of proper formatting. I'll come back later and fix it when I have a mo.)
-------------------------------------------------------------------------------------------------------------
Q: "What would you like to load from /DEV directory? A .TAP-file containing a BASIC Loader or containing Code?"

A: A BASIC test program for the hardware I am making, but to be honest, AUTOBOOT.BAS will do fine to start with.



Q: "Are you try to develop on real hardware? I think it´s more comfortable to develop and test on emulators before testing it on "the real thing"."

A: Yes. I just need a small BASIC program on the Speccy to monitor/report what I am doing with some hardware.



Q: "Not yet quite complete what you want, but have a look at development of "new NMI-Browser":"

A: Yes I did actually get DR Slumps NMI browser working yesterday until I killed my SD distro. I do have it saved and will put in back in the near future.



Q: "Here you can define a "Fast-ramp loader" File (with Symbol-Shift + F). With this set: Just press NMI and F and this file is loaded instantly."

A: I did not actually understand what that feature wast until you explained it better! Yes that sound very useful.




Jaqen Dax