commanderx16 / x16-emulator

Emulator for the Commander X16 8-bit computer
384 stars 60 forks source link

Generating chargen.bin #44

Closed taybart closed 5 years ago

taybart commented 5 years ago

Version

master

Env

$ uname -a
Darwin taybart.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64

Expectation

Demo chargen.bin

Result

No info on generation of char set

Hello! I am very new to retro build systems. I was not able to find how the chargen.bin was built. Is this a cc64 thing? Or is this a custom character set that you guys have put together? I edited the wiki on "building from scratch on a Mac. I would love to do some more documentation as I go (sweeping up all the low hanging fruit I am sure) on at least linux and macOS.

johalun commented 5 years ago

Same here.. It took a while before I discovered that you need to build rom.bin from another repo first. I have no idea how to generate chargen.bin.. Maybe a few lines in the README on how to build it would be helpful?

taybart commented 5 years ago

https://github.com/commanderx16/x16-emulator/wiki/x16-emulator-Getting-Started#building-from-scratch-on-mac I wrote this up so far

taybart commented 5 years ago

I will expand on this and do a full page later once I have everything up and running. I will replicate it for linux as well so that we can get some devs in here

johalun commented 5 years ago

So chargen.bin should be generated during x16-emulator build?

taybart commented 5 years ago

I don't believe it is (maybe it should be, I think they are taking it from the c64 or something from the cc65), I took one from the distributions. In the Readme/Makefile it pulls it from a ~/tmp dir see: https://github.com/commanderx16/x16-emulator/blob/master/Makefile#L69

johalun commented 5 years ago

Yeah I saw that.. I'll keep looking. What distribution did you find it in?

johalun commented 5 years ago

Ok, got it! I googled around and found roms to download. The binary version of char set rom. Seems to work fine, I get text on my X16 screen :D

taybart commented 5 years ago

For anyone that has googled here https://github.com/commanderx16/x16-emulator/releases

johalun commented 5 years ago

Oh those distributions.. Thanks! That was easier :) I'm on FreeBSD so I never looked at those. Anyways, it builds and runs out of the box (as long as you have the roms) on FreeBSD as well so that cool!

mobluse commented 5 years ago

You can build chargen.bin using build.sh in this repository: https://github.com/mobluse/chargen-maker

mist64 commented 5 years ago

I added instructions to the README. a6a1427