Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atari 800 "SUPDUP" #2034

Merged
merged 1 commit into from
Jun 16, 2021
Merged

Atari 800 "SUPDUP" #2034

merged 1 commit into from
Jun 16, 2021

Conversation

larsbrinkhoff
Copy link
Member

@larsbrinkhoff larsbrinkhoff commented Jun 11, 2021

ATLOGO; SUPDUP 1 1981-04-16

Terminal emulator for an Atari 800 located in the Logo lab. Probably written, or derived from code, by @jackpal: "CHAMELEON TTY BY JHP"

KLOTZ; * LOGIN says:

:tctyp soft hei 24 wid 39 +%tosai +%tolid +%tocid full +%tprsc no overwrite
:ttyloc Logo 327

Source code says these terminal types are supported. "SUPAI" should be ITS software TTY codes.

TTABLE: .ADDR   GLASS   ;Glass tty (vanilla CRT)
        .ADDR   SUPAI   ;AI Dial Up
        .ADDR   IMLAC   ;Imlac
        .ADDR   SUPAR   ;Arpa Net Dial up
        .ADDR   VT52    ;VT-52

@larsbrinkhoff larsbrinkhoff added the micro Microprocessors, microcomputers. label Apr 30, 2021
@larsbrinkhoff
Copy link
Member Author

Compare with this.

chameleon

https://manualzz.com/doc/19258610/

@larsbrinkhoff larsbrinkhoff added the tots Things from the ToTS archive. label Apr 30, 2021
@atsampson
Copy link
Contributor

JHP's ANTIC interview discusses CHAMELEON starting about 10 minutes in, and describes implementing SUPDUP at 14:29.

@larsbrinkhoff
Copy link
Member Author

Thanks @atsampson. I listened to the entire interview, which was very fun and interesting!

@larsbrinkhoff
Copy link
Member Author

I particularly noted how Palevich's first thesis idea was to write an Atari 400 emulator for a Lisp machine. That's entirely possible now.

@jackpal
Copy link

jackpal commented May 20, 2021 via email

@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 11, 2021 06:10 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 11, 2021 06:10 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 11, 2021 06:10 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 11, 2021 06:10 Inactive
@larsbrinkhoff
Copy link
Member Author

Source file ATLOGO; SUPDUP 1 is now provided, courtesy of the author Jack Palevich (@jackpal).

I will try to have it assembled and run in an Atari 800 emulator at some point.

@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 06:51 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 06:51 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 06:51 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 06:51 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 06:51 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 06:51 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 06:51 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 06:51 Inactive
@larsbrinkhoff
Copy link
Member Author

The source file SUPDUP 1 assembles with no errors on ITS using CROSS with the /M65 switch. The program occupies the address range 6000-6AAF, just 2735 bytes.

@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 07:05 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 07:05 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 07:05 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 07:05 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 07:05 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 07:05 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 07:05 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 15, 2021 07:05 Inactive
@larsbrinkhoff larsbrinkhoff removed the tots Things from the ToTS archive. label Jun 15, 2021
@larsbrinkhoff
Copy link
Member Author

Link to thread asking for help how to run this:
https://www.atari-forum.com/viewtopic.php?f=98&t=40607

@larsbrinkhoff
Copy link
Member Author

This has also been blessed by Klotz and Sobalvarro, who would be the most likely to have made the modifications.

@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:42 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:42 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:42 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:42 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:42 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:42 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:42 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:42 Inactive
Source code courtesy of Palevich, who comments:

  "My guess is that the SUPDUP code is a fork and extension of my
   original CHAMELEON terminal emulator.

   My guess is that either Leigh Klotz or Patrick Sobolvaro extended
   CHAMELEON to create SUPDUP. From looking over the source code, I
   see these changes from what I remember writing in Chameleon:
   + Using the paddle to scroll left/right. (I only supported using
     the yellow function keys to do this.)
   + Emulating SUPAI and IMLAC. (I had already added SUPDUP support to
     CHAMELEON.)
   + Removing emulation for ADM-3A."

Klotz and Sobolvaro don't remember any details.  They have given their
permission to release this, should that be necesssary.

LOGIN files suggest the ITS terminal settings should be:
:tctyp soft hei 24 wid 39 +%tosai +%tolid +%tocid full +%tprsc no overwrite
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:46 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:46 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:46 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:46 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:46 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:46 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:46 Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy June 16, 2021 05:46 Inactive
@larsbrinkhoff larsbrinkhoff merged commit a01c534 into master Jun 16, 2021
@larsbrinkhoff larsbrinkhoff deleted the lars/chameleon branch June 16, 2021 11:09
@larsbrinkhoff
Copy link
Member Author

I got some help here: https://atariage.com/forums/topic/321931-help-running-atari-800-terminal-emulator-from-mit/

The program now displays the first "splash" screen, but it does not show the next line after four seconds.
cham2

@larsbrinkhoff
Copy link
Member Author

The program requires revision A of the Atari OS due to hard-coded addresses.
cham3
cham4

@larsbrinkhoff
Copy link
Member Author

larsbrinkhoff commented Jun 17, 2021

I better jot down how I got this to work.

  • Assembled source code using CROSS with BINARY defined. This makes a small stub entry point at address 600.
  • Converted the CROSS output to Atari exectable file format. See Convert binary output from CROSS to an Atari DOS binary file. larsbrinkhoff/pdp10-its-disassembler#86
  • Downloaded image files:
    • Atari OS rev "A", NTSC version. (PAL rev "A" works too.)
    • Atari BASIC rev "C".
    • A floppy disk with DOS 2.0S.
  • Put the converted binary in the current directory as CHAM.COM.
  • Compiled the atari800 emulator off GitHub: https://github.com/atari800/atari800
  • Pointed .atari800.cfg to the right image files.
  • Ran the emulator like this: atari800 -atari -ntsc -basic -nopatch -rdevice -H1 . dos20s.atr
  • Typed DOS to exit BASIC.
  • Typed L and then H:CHAM.COM.
  • Typed M and then 600.

atari.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
micro Microprocessors, microcomputers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants