Re: Monitor/Assembler 2001!

From: Mia Magnusson <mia_at_plea.se>
Date: Wed, 31 Jan 2018 02:28:08 +0100
Message-ID: <20180131022808.0000624a@plea.se>
Den Tue, 30 Jan 2018 16:14:09 -0700 (MST) skrev vossi <vossi@ceffy.de>:
> Hi Mia, I think you are right.
> The Micromon and the Newtim are all TIM-enhancements.
> I need a real standalone monitor in 4k.

Maybe you could start with some monitor not specifically designed for
PET, and patch it?

I would have a look at the various monitors available for VIC-20 and
C64.

For example it seems like Supermon is less than 4k, and the source is
available:
https://github.com/jblang/supermon64

In the source code it seems like everything that needs to be changed
for PET is in the beginning:

https://github.com/jblang/supermon64/blob/master/supermon64.asm

It starts with two temporary variablesand 6 Kernal variables in zero
page, two kernal variables which isn't in zero page, internal variables
that goes in various free spaces in low mem but which you could move
elsewhere for a first tryout before searching for space in lowmem. Then
there is a extensive list of kernal entry points which should be
altered apropriate for PET (as I assume they aren't the same).

It also starts with displaying a signon message. If you really want to
trim down the size you could remove that.

Btw I assume that at one point in the beginning of MOS, atleast when
they created the KIM-1, they must have had some other computer to
assemble the sources. Later they probably just added up to 32k on some
PET even when memory were really expensive, and used that to develope
programs. So it's questionable if Commodore themself ever used an 4/8K
PET 2001 with Basic 1 ROMs to do any assembler developement.

> Commodore sold the "machine language monitor" (TIM) for the basic1 on
> a tape.
> I found the manual as pdf - it's exactly like the time in basic 2 and
> 4. But I cannot find it anywhere...
> 
> Has someone this very first monitor from commodore as tape /prg?

I don't know where to find it. In general, unfortunitely there seems to
be a lot of old software that just has been lost over the times. Not
Commodore related itself but for example the Wordstar versions before
3.20 for PC seems to be lost.

-- 
(\_/) Copy the bunny to your mails to help
(O.o) him achieve world domination.
(> <) Come join the dark side.
/_|_\ We have cookies.

       Message was sent through the cbm-hackers mailing list
Received on 2018-01-31 02:00:29

Archive generated by hypermail 2.2.0.