Skip to content

Latest commit

 

History

History
 
 

Software

6502 System Software

This documentation provides necessary insight into software provided in the repository.

Projects

  1. LCD Test: This program puts "Hello, world!" on the LCD
  2. Serial Test: This program reads and writes to the serial monitor.
  3. Serial and LCD: This program reads from the serial monitor and output it on both the lcd and serial monitor
  4. WIP Shell: This program creates a shell on both the lcd and serial monitor.
  5. MicroChess: Microchess for the Kim-1 was the first game program sold for home computers. After six months of development, the first copy was shipped on December 18, 1976.
  6. Button Test: This program listens for button presses and runs different code for every button
  7. Hello World C: This program is written in C and puts "Hello, world!" on the LCD
  8. Microsoft Basic: OSI 6502 BASIC VERSION 1.0 REV 3.2, COPYRIGHT 1977 BY MICROSOFT CO.

Setting up development environment on Windows

One important thing to note is that you might need to install FTDI Virtual COM Port drivers.

You will need the cc65 compiler toolchain. Click on "Windows Snapshot" at the bottom on this page https://cc65.github.io/. Extract the contents of the zip to a folder - I chose C:\cc65 - and add this folder to your path

To flash the eeprom I use the TL866II Plus programmer. You can find it's software here

For serial communication you can use regular PuTTy, but it doesn't have the feature of sending files using XModem protocol, so it's really recommended to use ExtraPuTTy instead.

Running the simplest possible program

Now you need to build the first program. Go to Software/01_lcd_test folder and run:

make

You can find the binary file here: Software/01_lcd_test/build/lcd_test.rom