Skip to content

prpplague/pc-rom-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PC ROM Tools

Basic tools for creating BIOS Extension ROMs for the IBM PCjr and IBM PC/XT/AT

Originally Created by Shaos and Licenced under GPLv3

To build tools simply issue the make command.

$ make
gcc -o pcjrcart pcjrcart.c crc16.c
gcc -o genrom genrom.c

PCjr Testing

to generate an executable com file:

$ nasm pcjr_test.asm -fbin -o test.com

generate a binary rom image:

$ pcjrcart test.com

the resulting test.bin file can be flash to your EEPROM.

This image can also be generated with make:

$ make pcjr
nasm pcjr_test.asm -fbin -o test.com
./pcjrcart test.com
test.com 52
ROM size is 512 bytes (1)
Calculated CRC is 0x714A
Corrected CRC is 0x0000

Dosbox Testing:

to generate an executable com file:"

$ nasm dosbox_test.asm -fbin -i test.com

This image can also be generated with make:

$ make dosbox
nasm dosbox_test.asm -fbin -o test.com

execute dosbox:

$ dosbox -machine cga test.com

Generic ROM Testing:

To generate an executable com file:

$ nasm generic_test.asm -fbin -o test.com

generate a binary rom image:

$ genrom test.com

the resulting test.bin file can be flash to your EEPROM.

This image can also be generated with make:

$ make generic
nasm generic_test.asm -fbin -o test.com
./genrom test.com
test.com 52
ROM size is 512 bytes (1)
8-bit Checksum=27

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published