Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laullon/b2t80s
b2t80s - Z80 Based Computers Emulator (back to the 80's)
https://github.com/laullon/b2t80s
8bits amstrad amstrad-cpc computers-emulator retrocomputing retrogaming z80 z80-emulator zx-spectrum
Last synced: about 2 months ago
JSON representation
b2t80s - Z80 Based Computers Emulator (back to the 80's)
- Host: GitHub
- URL: https://github.com/laullon/b2t80s
- Owner: laullon
- License: mit
- Created: 2020-03-26T17:03:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-22T21:59:28.000Z (over 3 years ago)
- Last Synced: 2024-07-30T21:10:09.251Z (5 months ago)
- Topics: 8bits, amstrad, amstrad-cpc, computers-emulator, retrocomputing, retrogaming, z80, z80-emulator, zx-spectrum
- Language: Go
- Homepage:
- Size: 10.5 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
[![Go Report Card](https://goreportcard.com/badge/github.com/laullon/b2t80s)](https://goreportcard.com/report/github.com/laullon/b2t80s) [![Build Status](https://travis-ci.com/laullon/b2t80s.svg?branch=master)](https://travis-ci.com/laullon/b2t80s)
# b2t80s
Z80 & 6502 Based Computers, consoles and arcades Emulator (back to the 80's)
* ZX Spectrum [90%]
* Amstrad CPC [80%]
* MSX 1 [70%]
* NES [50%]
* Tetris Arcade [80%]## Download
## Usage
```
-bp string
Breakpoints [0xXXXX[,0xXXXX,...]]
-cpuprofile file
write cpu profile to file
-debug
shows debugger
-dskA string
disc file to load on drive A
-memprofile file
write memory profile to file
-mode string
Spectrum model to emulate [48k|128k|plus3|cpc464|cpc6128|msx1|atetris|nes] (default "48k")
-rom string
msx1 rom file to load - format: [mapper::]filename - Mappers:konami
-slow
Real Spectrum loading process
-tap string
tap file to load
-z80 string
z80 file to load
-cart nes cartridge
```## Build and Run
### Requirements
#### All OS
- Go 1.13+
#### Linux:
- libgl1-mesa-dev
- libegl1-mesa-dev
- libgles2-mesa-dev
- xorg-dev
- libasound2-dev#### Macos:
- Xcode (latest)
### Dependencies
```
go get -u github.com/go-bindata/go-bindata/...
$HOME/go/bin/go-bindata -pkg data -o data/data.go data/...
```### Run
```
go run main.go --mode 48k -tap "./games/ManicMiner.tap"
``````
go run main.go --mode nes -cart "games/nes/1942 (JU) [p1].nes"
``````
go run main.go --mode atetris
```## links
### ZX
-
- tests:
- The Complete Spectrum ROM Disassembly:
- SPECTRUM 128 ROM 0 DISASSEMBLY
- Roms:
- Contention Test Success
- Video Parameters### CPC
- cpc6128 rom:
-
-### Z80
-
### my
- int.asm
## ZexDoc
```
zmac --zmac zexdocsmall.asm
go test -v -timeout 999m github.com/laullon/b2t80s/emulator -run TestZEXDoc
```## TODOs
// TODO: test OLC:PGE for UI -
## traces
```
/usr/local/bin/go test -trace=trace.out -timeout 15s github.com/laullon/b2t80s/cpu/z80 --v
go tool trace trace.out
```