RE: Discovered the Hi-Res Basic!

From: Baltissen, GJPAA (Ruud) <ruud.baltissen_at_apg.nl>
Date: Fri, 13 Oct 2017 08:30:25 +0000
Message-ID: <54F350D2C6501448A3EE14B7854C5FB563EE88DC@WSV10441N3.office01.internalcorp.net>
Hallo Vossi,


> Here I discovered the first basic statements:
>
> http://lc64.blogspot.de/2017/09/db-hi-res-basic-extension-discovered.html


To be honest, the disassembly is not easy, quite difficult and almost frustrating in fact. An example:

	sec
	lda	CassBuffer2+167
	sbc	CassBuffer2+169
	lda	CassBuffer2+168
	sbc	CassBuffer2+170
	bmi	A_9356

	lda	CassBuffer2+168
	lsr	A
	sta	ForNextPtr+1

	lda	CassBuffer2+167
	ror	A
	sta	ForNextPtr

	lda	CassBuffer2+181
	sta	CurBasVarName

	lda	CassBuffer2+182
	sta	CurBasVarName+1

	lda	CassBuffer2+179
	sta	ChrgetPtr

	lda	CassBuffer2+180
	sta	ChrgetPtr+1
J_92F9:					;				[92F9]
	lda	CassBuffer2+167
	cmp	ForNextPtr
	lda	CassBuffer2+168
	sbc	ForNextPtr+1
	bcs	A_9323

The above CassBuffer2+xxx are only part of the used variables plus there a lot of CassBuffer1+xxx ones as well. Next difficulty is the use of various Basic Variables in a way I don't understand. If I was running a Basic PRG using a FOR/NEXT statement to draw something, I'm quite sure the above code would ruin the loop. Not only because of the use of ForNextPtr but also of the use of the pointer to the name of the Basic variable currently in use, being the name in the FOR statement. Please do me a favor and test it with drawing some lines in a FOR/NEXT loop, please.
Another example: when drawing a line I expect some input for at least two X/Y coordinates. Nothing found so far. If you don't know either, the above cannot be tested :(

So I paid attention to your blog, (http://lc64.blogspot.nl/2017/09/db-hi-res-basic-extension-discovered.html), and noticed the name Thielker. I assume that you switched ROMs and that this one works as well. Having better examples from your blog for this ROM, I decide to have a try at it.

Any input you have is welcome!


Met vriendelijke groet / With kind regards, Ruud Baltissen

www.Baltissen.org






De informatie in dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de 
geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoeken wij u contact op te 
nemen met de afzender per kerende e-mail. Verder verzoeken wij u in dat geval dit 
e-mailbericht te vernietigen en de inhoud ervan aan niemand openbaar te maken. 
Wij aanvaarden geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige 
overbrenging van de inhoud van een verzonden e-mailbericht, noch voor daarbij 
overgebrachte virussen.

APG Groep N.V. is gevestigd te Heerlen en is ingeschreven in het 
handelsregister van de Kamer van Koophandel Limburg onder nummer 14099617


The information contained in this e-mail is confidential and may be privileged. 
It may be read, copied and used only by the intended recipient. 
If you have received it in error, please contact the sender immediately by 
return e-mail; please delete in this case the e-mail and do not disclose its 
contents to any person. We don't accept liability for any errors, omissions, 
delays of receipt or viruses in the contents of this message which arise as a 
result of e-mail transmission.

APG Groep N.V. is registered in the trade register of the Chamber 
of Commerce Limburg, The Netherlands, registration number: 14099617


       Message was sent through the cbm-hackers mailing list
Received on 2017-10-13 09:00:03

Archive generated by hypermail 2.2.0.