Back to Browse

Run BASIC on your 6502

7.2K views
Dec 11, 2021
12:44

A run-down on how to "port" Enhanced BASIC (EhBASIC) to a homebrew 6502 computer. I include output drivers for a TMS9918 VDP as well as a standard character LCD and a 128x64 Graphics LCD. Could easily be ported to a Ben Eater 6502. Thanks to PCBWay: https://pcbway.com/g/186WQ9 EhBASIC: https://github.com/jefftranter/6502/tree/master/asm/ehbasic HBC-56 Github: https://github.com/visrealm/hbc-56 BASIC (in the repo): https://github.com/visrealm/hbc-56/tree/master/code/6502/basic Follow along using the HBC-56 emulator. 00:00 Introduction 00:26 EhBASIC overview 01:00 Project setup 02:26 ACME assembler 02:45 HBC-56 implementation 04:15 TMS9918 console library 06:20 Input handler 06:52 Assemble and test 07:44 Customizing EhBASIC 08:50 Guess the number 09:20 Character LCD output 11:20 Graphics LCD output 12:16 Outro #6502 #basic #beneater

Download

1 formats

Video Formats

360pmp425.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Run BASIC on your 6502 | NatokHD