Skip to content

Platform Luxor ABC80

suborb edited this page May 9, 2024 · 4 revisions

Hardware summary

  • z80 @ 3Mhz
  • 16-32k RAM
  • 16k ROM
  • SN76477 sound chip (unsupported)
  • 40x24 character mapped display

Classic library support (+abc80)

  • Native console output
  • Native console input
  • ANSI vt100 engine
  • Generic console
    • Redefinable font
    • UDG support
    • Paper colour
    • Ink colour
    • Inverse attribute
    • Bold attribute
    • Underline attribute
  • Lores graphics
  • Hires graphics
  • PSG sound
  • One bit sound
  • Inkey driver
  • Hardware joystick
  • File I/O
  • Far heap
  • Interrupts
  • RS232

Quick start

zcc +abc80 -lm -o adventure -create-app adv_a.c

This command will build two files: "adventure.bas" and "adventure.bac", choose the one suitable for your emulator.

zcc +abc80 -lm  -subtype=wav -o adventure -create-app adv_a.c

This will also create a WAV audio version

zcc +abc80 -lm -subtype=hex -create-app -zorg=49200 -o adventure adv_a.c

This will build "adventure.ihx", an Intel-HEX encoded binary file. It can be passed as a command line parameter to the ABC80SIM emulator and run directly with the command "A=CALL(49200)".

Advanced options

zcc +abc80 -zorg=50000 -create-app program.c

The -zorg oprion permits to specify the location of the compiled program. The BASIC loader will put it into the new position

Hints for emulators

WINABC80

This is one of the earlier emulators for windows. Compile a ".BAC" program, start the emulator and "CONFIGURE" the programs path (a trailing backslash is mandatory).

To run the program:

RUN "A"

..."A" is the BAC program name.

The BAC format is a BASIC program with the machine code inserted in DATA program lines. You must wait a little for the program to be copied in memory.

Graphics

The pseudo graphics mode is supported. You first need to issue a clg () command to set up the graphics page.

Links

ABC80 club (Sweden)

ABC80 Emulators

Clone this wiki locally