https://github.com/mkst/blastcorps
https://github.com/mkst/blastcorps
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mkst/blastcorps
- Owner: mkst
- Created: 2021-05-27T20:21:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-29T09:32:03.000Z (about 5 years ago)
- Last Synced: 2025-01-23T04:13:17.962Z (over 1 year ago)
- Language: C
- Size: 4.41 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blast Corps
This is a two-stage build; first stage is to extract the compressed section from the ROM, second stage is to extract/compile them.
Place a US Rev 1.0 ROM at the base of this repo.
## Checkout Repo
```
git clone git@github.com:mkst/blastcorps.git --recursive
```
## Stage 1
**Extract init, hd_code and hd_front_end code from ROM**
```
make extract
```
**Decompress hd_code and hd_front_end .text and .data sections**
```
make decompress
```
**Build ROM**
```
make
```
## Stage 2 (Optional)
**Extract `init` + `hd_code` (TODO: `hd_front_end`):**
```
make -C blastcorps extract
```
**Compile ASM/C**
```
make -C blastcorps
```
**Compress compiled code and replace**
```
make -C blastcorps compress
```
**(re)Build ROM**
```
make
```