Re: Looking for Baum's tiny assembler on Apple-1
Posted: Fri Feb 28, 2020 5:44 am
Chromatix wrote:
The [Apple 1] keyboard and display hardware are both interfaced to the CPU bus through a 6820 PIA...
The Apple 1 display is a little weird in that it is essentially a glass TTY; as far as I know it supports only a 6-bit version of ASCII plus carriage-return.
The Apple 1 display is a little weird in that it is essentially a glass TTY; as far as I know it supports only a 6-bit version of ASCII plus carriage-return.
I have a few more details in the Video section of my Apple 1 documentation, along with a link to a video of a real Apple 1 that confirms the behaviour, and links to a couple of emulators that are consistent with that (and one that is not). As documented there, the character output translation is:
Code: Select all
$00-$1F Print nothing (excepting $0D)
$0D (CR) Moves to the beginning of the next line.
$20-$5F (space through underbar) prints given char
$60-$7F (lower-case etc.) prints same as $40-$5F
($7F is not treated as a control character)I ended up documenting this carefully because tebl's RC6502-Apple-1-Replica, which uses an Arduino Nano to emulate the keyboard and display over a serial line, doesn't properly emulate the real behaviour.
________________________________
mvk wrote:
Atari 2600 programmers had it easy with their TIA chip. It took care of an entire scan line while their software could do something else.
But sure, still easier and more flexible than having to program the CPU to clock the bits out yourself. I look forward to your redesign of the Gigatron to be as advanced as the Atari 2600, albeit more than 40 years late. :-)