RE: emulation of a cbm8032 screen on a serial terminal (need some advices)

From: Didier Derny <didier_at_aida.org>
Date: Sun, 11 Dec 2011 08:24:02 +0100
Message-ID: <000901ccb7d5$dbc9bc10$935d3430$@org>
I have a micro kim :) it's really great.
(I'm thinking to write a tape emulation for the microkim [avr + flash
memory])
(still in my head :( nothing written yet)

I also have a pocketerm greats too except for the keyboard...
Very hard to find.

The 8085 is slightly easier to emulate, on a 8080 a processor status 
Is not automatically updated.
And cp/m computer used to have serial terminal, so the scroll is done
By the terminal by some escape sequence, not by copy.

The emulation of the register in $FFF0 also take some time
I'm playing with the ramp register to simulate the memory management.

I think my emulated 6502 will run faster than 1Mhz
I'll adjust to 1 Mhz (option)

-----Message d'origine-----
De : owner-cbm-hackers@musoftware.de
[mailto:owner-cbm-hackers@musoftware.de] De la part de matt
Envoyé : dimanche 11 décembre 2011 01:12
À : cbm-hackers@musoftware.de
Objet : Re: emulation of a cbm8032 screen on a serial terminal (need some
advices)

i have one of these http://www.brielcomputers.com/wordpress/?cat=11
and they use a avr8515 @ 16mhz  the 8080 runs about ~1.5mhz


----- Original Message ----- 
From: "Didier Derny" <didier@aida.org>
To: <cbm-hackers@musoftware.de>
Sent: Saturday, December 10, 2011 11:13 PM
Subject: emulation of a cbm8032 screen on a serial terminal (need some 
advices)


> Hi
>
> I'm thinking to the emulation of the cbm8032 screen on a pocketerm 
> modified
>
> I'thinking to modify the pocketerm as follow:
> - spi bus to communicate with the avr 128A1 xplained.
>  (apparently with the propeller it is possible to reach about 1 Mhz but 
> not
> beyond)
> - font modified in the propeller firmware to support commodore graphic
> characters.
> - font switching via a command send to the terminal.
> - keyboard code modified to create commodore codes
>  (not really worked on this par but I have a few idea coming from my old
> emulator)
>
> The fastest writing loop on the cbm screen is probably this sequence:
>
> Loop   sta $(xx),y    6  cycles
> iny            2  cycles
>       bne            3  cycles
>
> so a t 1 Mhz 83333 char /sec
> (1000000/12 * 10) = 833330 bits /sec   (8 bits + start + stop)
>
> if the addess change:  from the previous write
>  jocker + line + col
>
> but I guess that the writing in the screen is rarely random...
>
> while we are on the same line, we send the byte one after the others...
>   char + char + char
>
> but if the char is the same the char + a jocker + a rep count is sent.
>   char + escape code + rep count
>
> all write a not immediate but after a short time so there is a chance
> to create a string with a repeat count.
>
> My problem is the scroll, the scroll is really expensive, I'm thinking to
> Way to detect a scroll with a code not too expensive but without any
> Modification in commodore kernel.
>
> If I could find a way to detect it, I could send a scroll up/down command
> To the propeller
>
> Any idea for a scroll detection ?
>
> Thanks
>
> --
> Didier
>
>
>
>
>
>
>
>
>
>
>       Message was sent through the cbm-hackers mailing list
>
> __________ Information from ESET NOD32 Antivirus, version of virus 
> signature database 6496 (20110926) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> 


       Message was sent through the cbm-hackers mailing list


       Message was sent through the cbm-hackers mailing list
Received on 2011-12-11 08:00:09

Archive generated by hypermail 2.2.0.