Jump to content


Source (or explanation) of Autorun.Sys for Basic?

28 replies to this topic

#26 flashjazzcat OFFLINE  



  • 13,810 posts
  • Location:United Kingdom

Posted Sat Jul 14, 2018 1:37 AM

Just unpatch when delivering the EOL character and all's good.




  • 1,728 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Sat Jul 14, 2018 3:25 AM

Haha, funny how much can go wrong in just a few lines of code. And how the coding style changes over the years. Looking at my code from 2010 I see at least 4 other bugs (wrong wait loop, RAMTOP/MEMTOP not set, cusor skips printed line because of BASIC's "READY" output, ....)


So here's the actually working and tested version running from an ATR with and without BASIC previously enabled.







It uses the same method as before to simulate the input. Simply because I like the fact the OS has that feature for this purpose and because it is a little smaller than changing (and restoring) HATABS.

#28 _The Doctor__ OFFLINE  

_The Doctor__


  • 5,144 posts
  • Location:10-0-11-00:02

Posted Sat Jul 14, 2018 12:09 PM

see now that unfinished business is settled, I feel better about it already... now if we just did this with every piece of previous works down the entire software library, I'd be the happiest ever!

#29 ascrnet OFFLINE  


    Chopper Commander

  • 162 posts
  • Location:Santiago, Chile

Posted Sat Jul 14, 2018 6:02 PM

Thank you very much for the JAC! example. ;)  It was just what I wanted to do to automatically start a program in basic that I'm typing from a magazine in my country.


well here I share a video autorun.sys working. :grin:



0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users