🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Sozobon Compiler and Accessories - Help!

#2243
From: Dirk Husemann
Date: Thu, 06 Jul 1989 09:37
51 lines
2374 bytes
	Hi!

	I'm having a little (;-) problem with the Sozobon compiler and
accessories. I didn't get all the stuff distributed with Sozobon compiler
sometime in the past - namely, none of the sources but all of the rest - I
think ;-). Thus, it might be due to the missing parts that I have the following
problem:

	When compiling a GEM program which is supposed to run as an accessory
and starting it as MY.PRG it'll start and run correctly. When installed as
MY.ACC my system will crash when booting. I am aware of the fact that the
event handling of a .PRG and a .ACC have to be different and have taken care
of that. By using printf's I found out that the program when run as an accessory
won't even enter main().

	My suspicion is that the dstart.o module frees memory prior to calling
_main() which shouldn't be done for an accessory (according to the docs I have
access to ...).

	Now - is there a different module available for compiling accessories?

	Would a construction like
	
		lea	#stackend, sp
		jsr	_main
		jmp	_exit

		stack:	.DS.w	2000
		stackend:

make it work?

	If there is a module available for compiling accessories could a kind
soul *please* mail it to me????

	Also, if I'm missing something could anyone tell me?

	Thanks,
		Dirk Husemann

------------------ Smile, tomorrow will be worse! --------------
Email:	dkhusema@immd4.informatik.uni-erlangen.de
Or:	{pyramid,unido}!fauern!faui49!dkhusema
Mail:	Dirk Husemann, Aufsess-Str. 19, D-8520 Erlangen,
(Home)	West Germany
(Busi-	University of Erlangen-Nuremberg, Computer Science Dep.,
ness)	IMMD IV, Martensstr. 1, D-8520 Erlangen, West Germany
Phone:	(Home) +49 9131 302036,	(Business) +49 9131 857908
-- Beam me up, Scotty, there's no intelligent life down here! --
--------------- My opinions are mine, mine, mine ---------------
Technical Details
Message-ID: <458@medusa.informatik.uni-erlangen.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bionet!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!unido!fauern!immd4.informatik.uni-erlangen.de!dkhusema

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bionet!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!unido!fauern!immd4.informatik.uni-erlangen.de!dkhusema
From: dkhusema@immd4.informatik.uni-erlangen.de (Dirk Husemann)
Newsgroups: comp.sys.atari.st
Subject: Sozobon Compiler and Accessories - Help!
Keywords: Accesories Sozobon dstart.o
Message-ID: <458@medusa.informatik.uni-erlangen.de>
Date: 6 Jul 89 09:37:00 GMT
Distribution: comp
Organization: /usr/inf4/i4hiwi/dkhusema/.organization
Lines: 51