We all know the TOS version is in the TOS header images, such as 0104 etc.. I believe EMUTOS reports TOS102... But is there any actual way to detect the file is actually EMUTOS and not original TOS ? and possibly the emutos version number ?
EDIT:
I assume this is how it would be done...
Detecting EMUTOS ?
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Detecting EMUTOS ?
You do not have the required permissions to view the files attached to this post.
-
BlankVector
- Posts: 93
- Joined: 15 Sep 2017 22:51
Re: Detecting EMUTOS ?
Precisely. Check for 'ETOS' at ROM offset $2C.
For now, we have no mechanism to detect EmuTOS version number.
For now, we have no mechanism to detect EmuTOS version number.
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Display a color pixel in assembly language on Atari ST.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Detecting EMUTOS ?
Thanks :)
Put on the "to do list" ;)
-
anodyne
- Posts: 18
- Joined: 02 Nov 2019 20:21
Re: Detecting EMUTOS ?
This will be in the next release :-).
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Detecting EMUTOS ?
Sweet!
-
BlankVector
- Posts: 93
- Joined: 15 Sep 2017 22:51
Re: Detecting EMUTOS ?
Done! Since 29/10/2019 (current EmuTOS snasphots, and future release):
- Look at ROM offset $2C. If 'ETOS' is there, then it's EmuTOS (works for all EmuTOS versions, including old ones)
- Look at offset $34. If 'OSEX' is there, then the new EmuTOS extended header is present, including version information. If not, no version information is availble.
- Look at offset $40. There is a LONG. It is the file offset to the version string (the one displayed on the welcome screen)
- Or if you prefer, look at offset $3c. There are 4 bytes: MAJOR,MINOR,FIX and UNOFFICIAL. If UNOFFICIAL is set to 0, this is an official release (version indicated by MAJOR,MINOR,FIX). If UNOFFICIAL is set to 1, then it is an unofficial version (i.e. development snapshot) built after the MAJOR,MINOR,FIX release.
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Display a color pixel in assembly language on Atari ST.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Detecting EMUTOS ?
@BlankVector Nice one! :dualthumbup: Will add this into my flash software next update :)
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Detecting EMUTOS ?
@BlankVector Do these changes appear in 0.9.12 ? That the latest one I can find, but is dated before the date you mention...
https://sourceforge.net/projects/emutos ... os/0.9.12/
https://sourceforge.net/projects/emutos ... os/0.9.12/
-
czietz
- Posts: 584
- Joined: 14 Jan 2018 13:02
Re: Detecting EMUTOS ?
Like Vincent mentioned: "Since 29/10/2019 (current EmuTOS snasphots, and future release)". Emphasis mine.
The OSEX header is in current EmuTOS snapshots: https://sourceforge.net/projects/emutos ... snapshots/. As of today, there has been no new release after 0.9.12. As you've seen yourself, 0.9.12 predates the introduction of the OSEX header.
The OSEX header is in current EmuTOS snapshots: https://sourceforge.net/projects/emutos ... snapshots/. As of today, there has been no new release after 0.9.12. As you've seen yourself, 0.9.12 predates the introduction of the OSEX header.
Who is online
Users browsing this forum: ClaudeBot and 3 guests