Virtual Machine, MOS 6502 emulator.
Go to file
makarcz 0dd5a0299f Virtual Machine 6502
This is the initial development of VM6502 project. Initially it is a VM
emulating MOS 6502 opcodes, but in the future my intention is to use the
free illegal opcodes to extend its functionality.
2016-02-20 18:14:25 -05:00
.gitattributes 🎪 Added .gitattributes 2016-02-20 18:11:01 -05:00
.gitignore Virtual Machine 6502 2016-02-20 18:14:25 -05:00
BCDCodes.dev Virtual Machine 6502 2016-02-20 18:14:25 -05:00
Display.cpp Virtual Machine 6502 2016-02-20 18:14:25 -05:00
Display.h Virtual Machine 6502 2016-02-20 18:14:25 -05:00
MKBasic.cpp Virtual Machine 6502 2016-02-20 18:14:25 -05:00
MKBasic.dev Virtual Machine 6502 2016-02-20 18:14:25 -05:00
MKBasic.h Virtual Machine 6502 2016-02-20 18:14:25 -05:00
MKCpu.cpp Virtual Machine 6502 2016-02-20 18:14:25 -05:00
MKCpu.h Virtual Machine 6502 2016-02-20 18:14:25 -05:00
MKGenException.cpp Virtual Machine 6502 2016-02-20 18:14:25 -05:00
MKGenException.h Virtual Machine 6502 2016-02-20 18:14:25 -05:00
Memory.cpp Virtual Machine 6502 2016-02-20 18:14:25 -05:00
Memory.h Virtual Machine 6502 2016-02-20 18:14:25 -05:00
Notes.txt Virtual Machine 6502 2016-02-20 18:14:25 -05:00
ReadMe.txt Virtual Machine 6502 2016-02-20 18:14:25 -05:00
TestBCD.65s Virtual Machine 6502 2016-02-20 18:14:25 -05:00
VMachine.cpp Virtual Machine 6502 2016-02-20 18:14:25 -05:00
VMachine.h Virtual Machine 6502 2016-02-20 18:14:25 -05:00
bcd.c Virtual Machine 6502 2016-02-20 18:14:25 -05:00
dummy.ram Virtual Machine 6502 2016-02-20 18:14:25 -05:00
dummy.rom Virtual Machine 6502 2016-02-20 18:14:25 -05:00
hello_world.bas Virtual Machine 6502 2016-02-20 18:14:25 -05:00
main.cpp Virtual Machine 6502 2016-02-20 18:14:25 -05:00
t_adc_bcd_01.65s Virtual Machine 6502 2016-02-20 18:14:25 -05:00
t_adc_bcd_01.dat Virtual Machine 6502 2016-02-20 18:14:25 -05:00
t_sbc_bcd_01.65s Virtual Machine 6502 2016-02-20 18:14:25 -05:00
t_sbc_bcd_01.dat Virtual Machine 6502 2016-02-20 18:14:25 -05:00
test_char_io_01.65s Virtual Machine 6502 2016-02-20 18:14:25 -05:00
test_char_io_01.dat Virtual Machine 6502 2016-02-20 18:14:25 -05:00
testall.asm Virtual Machine 6502 2016-02-20 18:14:25 -05:00
testall.dat Virtual Machine 6502 2016-02-20 18:14:25 -05:00
testbcd.dat Virtual Machine 6502 2016-02-20 18:14:25 -05:00
tinybasic.asm Virtual Machine 6502 2016-02-20 18:14:25 -05:00
tinybasic.dat Virtual Machine 6502 2016-02-20 18:14:25 -05:00

ReadMe.txt

Project: MKBasic
Author: Copyright (C) Marek Karcz 2016. All rights reserved.
Purpose:
MOS 6502 emulator, Virtual CPU/Machine and potentially retro-style 8-bit computer emulator,
MOS-6502-compatible virtual computer featuring BASIC interpreter, machine code monitor etc.

Memory images extensions: .RAM, .ROM

Format of the memory definition file:

; comment
ADDR
address
data
ORG
address

Where:
ADDR - label indicating that starting address will follow in next
       line
ORG - label indicating that the address counter will change to the
      value provided in next line
address - decimal or hexadecimal (prefix $) address in memory

E.g:
ADDR
$200

or

ADDR
512
 
changes the default start address (256) to 512.

ORG
49152

moves address counter to address 49152, following data will be
loaded from that address forward

data - the multi-line stream of decimal of hexadecimal ($xx) values
       of size unsigned char (byte: 0-255) separated with spaces
       or commas. 

E.g.: 
$00 $00 $00 $00
$00 $00 $00 $00

or

$00,$00,$00,$00

or

0 0 0 0

or

0,0,0,0
0 0 0 0