Re: 2001N/basic-4 UD3 option

From: smf <smf_at_null.net>
Date: Tue, 10 Oct 2017 18:51:10 +0100
Message-ID: <fa173c65-c3b8-1d82-519b-f37928b317d9@null.net>
I disassembled it, I tried to attach it but I think it may have been 
rejected. So I'm resending the email.

I found it output a message and overwrote some variables in memory, but 
I quickly figured out that it would be easier to run it than debug it. 
So I tried it in vice using a PET 4032 with your dump loaded as option 
rom 9 (it has to load at $9000).

I had to type SYS 36864, it outputs MK-B2.2

It looks like it hooks a timer & the keyboard & examines what is on the screen when you press enter.

Typing . and the enter key gives you more . prompts

.a sets a window
.e sets a windows and goes to the home position
.b,.c,.d,.f,.h,.i,.j,.k,.n,.o,.p,.q,.t,.w give ? followed by the letter, so I assume it's unrecognised
.g single step basic program, says can't continue error if not running a basic program
.l needs to be followed by a string or you get a syntax error or type mismatch. I didn't have a disk setup and I got a file not found, but it was probably trying to load.
.m needs to be followed by a string or you get a syntax error or type mismatch. It doesn't give any indication what it is doing
.s needs to be followed by a string or you get a syntax error or type mismatch. I didn't have a disk setup and got a file not found, but it was probably trying to save.
.r starts stepping, each line will be listed and executed and then a .g command will be automatically displayed waiting for you to type enter
.u swaps between upper and lower case
.v does nothing
.x says ready and seems to uninstall it.
.z needs to be followed by a number or you get a syntax error or type mismatch. It then prints a number, I can't figure out what that number is.
.@ views the drive status, or if you give it a string it will send that to the drive.
.# does nothing

If you type in 10 print "hello"
it automatically types 20 for you

I haven't figured out what the timer does, it looks on the stack, checks some variables and then jumps into the rom. There is code that looks like it's checking for a different version of rom & it then does more.

I've probably missed loads, but it's a start.

On 10/10/2017 10:48, Francesco Messineo wrote:

> Did anyone try to disassemble this dump? I have to give back the 4032
> as it's repaired now and I would like to suggest the owner what might
> be this option ROM.
>
> On Fri, Oct 6, 2017 at 7:02 AM, Francesco Messineo
> <francesco.messineo@gmail.com> wrote:
>> Looks like the attached picture was too big for this ML?
>>
>> ---------- Forwarded message ----------
>> From: Francesco Messineo <francesco.messineo@gmail.com>
>> Date: Thu, Oct 5, 2017 at 7:19 PM
>> Subject: 2001N/basic-4 UD3 option
>> To: cbm-hackers@musoftware.de
>>
>>
>> Hi all,
>> just finished to repair the 3032/basic-4 and now I'm on a 4032 (still
>> 2001N/basic-4 but with original ROMs).
>> It has an option on UD3, as you can see from the attached picture. Yes
>> the EPROM is sprayed with paint, don't ask me why :)
>> This 4032 has german origins (from some stickers applied on the inside).
>> I've attached a dump of the option EPROM, if anyone can tell me what it's for.
>> This 4032 also has a DB9 connector added on the back, it's basicly
>> connected to the user port signals. I don't know if this is related to
>> the option or not. Pictures available on request.
>> The only problems on this 4032 were dead kernel ROM and bad 6522 (3
>> bits of port A shot, some of the ones going to the DB9 by the way).
>> HTH
>> Frank IZ8DWF
>         Message was sent through the cbm-hackers mailing list



       Message was sent through the cbm-hackers mailing list
Received on 2017-10-10 18:00:08

Archive generated by hypermail 2.2.0.