🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #39600

Re: How to know we are in TOS 1.0?

#39600
From: Ray Wallace
Date: Tue, 19 Dec 1989 00:29
38 lines
2154 bytes
In article <452@mirsa.inria.fr>, colas@modja.inria.fr (Colas Nahaboo) writes...
>My question is: what is the LEGAL way to know I am running on an ST with
>TOS 1.0 roms from a C program? The only legal way I knew of was Sversion,
>but it returns 0,19 on both TOS 1.0 & TOS 1.2

Attached is Alan Pratt's answer to the same question when it was posted about
a year ago.

 # Subject: Re: Rom Identification
 # Posted: 24 Aug 88 18:22:24 GMT
 # Organization: Atari (US) Corporation, Sunnyvale, California
 #  
 # In article <1402@kodak.UUCP> nelson@kodak.UUCP (bruce nelson) writes:
 # > Is there an official (or unofficial :-) way to identify which version
 # > of the Roms is installed in an ST?
 # > 
 # > Bruce D. Nelson         | UUCP: ...!rutgers!rochester!kodak!hawkeye!nelson
 #  
 # The quick answer is this: the system variable _sysbase (at address
 # 0x4f2) contains a pointer to the base of the OS.  The OS starts with a
 # header which identifies it.  At offset 2 and 3 into this header are two
 # bytes: the major and minor revision numbers, respectively.  Original RAM
 # TOS, as well as the first cut of ROMs, was, I believe, 1.0 (that is,
 # major byte is 1, minor is 0).  The Mega ROMs are 1.2, and the new
 # release will be 1.4.  You aren't missing revs: we're jumping them by two
 # for reasons I don't want to go into now. 
 #  
 # ============================================
 # Opinions expressed above do not necessarily	-- Allan Pratt, Atari Corp.
 # reflect those of Atari Corp. or anyone else.	  ...ames!atari!apratt

---
Ray Wallace		
		(INTERNET,UUCP) wallace@oldtmr.enet.dec.com
		(UUCP)		...!decwrl!oldtmr.enet!wallace
		(INTERNET)	wallace%oldtmr.enet@decwrl.dec.com
---
Technical Details
Message-ID: <1386@engage.enet.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!shlump.nac.dec.com!engage.enet.dec.com!oldtmr!wallace

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!shlump.nac.dec.com!engage.enet.dec.com!oldtmr!wallace
From: wallace@oldtmr.dec.com (Ray Wallace)
Newsgroups: comp.sys.atari.st
Subject: Re: How to know we are in TOS 1.0?
Message-ID: <1386@engage.enet.dec.com>
Date: 19 Dec 89 00:29:01 GMT
Sender: news@engage.enet.dec.com
Organization: Digital Equipment Corporation
Lines: 38