Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

New year? New video! I'm finally getting around to videos about getting MS Basic running on the 6502 computer, and this is the first of what will probably be two parts about porting MS Basic and getting it working.

As always, thanks for your continued support of these videos and please let me know if you have any feedback about this one before I release it publicly.

Thanks again and happy new year!

-Ben

Files

Previews only

A simple BIOS for my breadboard computer

Support these videos on Patreon: https://www.patreon.com/beneater or https://eater.net/support for other ways to support. ------------------ Social media: Website: https://www.eater.net Twitter: https://twitter.com/ben_eater Patreon: https://patreon.com/beneater Reddit: https://www.reddit.com/r/beneater Special thanks to these supporters for making this video possible:

Comments

ProgrammerDor

Kewl. This brings back memories. When I started my current job (way back in 1998) one of my first projects was optimizing the Linker config file. The Sr. software engineer was getting "out of space" errors. The hardware guy was just gonna change the board to use larger PROMs. However, I was able to move the segments around to optimize the use of space to fit everything. This was on an 8086 project that had 4 PROMs. Two address spaces in pairs (Odd and Even). The Library segment grew too big to be in the same PROM as the Code segment. I just moved it into the other PROM with the BIOS segment.

Cole Campbell

Looking forward to the next part of this. One thing to note, you don't need to declare extra memory areas and do a bunch of math to control the position of your segments within ROM. You can instead just add a `start = ...` or an `offset = ...` directive to the segment declaration, and everything will work the way you'd expect. The documentation calls out vector tables specifically as one of the intended use cases.

Stephen Todd

Happy New Year, Ben. Another interesting video. Looking forward to the next.

Frederik Holst

Great video, as always. Just wondering about the NMI vector: What is located at 0x0F00? That would be empty space in RAM filled probably with garbage?

Dirk Sperling

Happy New Year! Great video, very nice progress on the project. I was really waiting for a new video and this is even better then expected.

sorek.uk

I really wish you will show us how to setup C/C++ compiler for this computer. I think it would be great opportunity to learn how to optimise compiler and create makefiles for any embedded project (especially like this) and would allow users to learn more useful things! :)

Don Prefontaine

Thanks for the careful documentation, Ben - great job!

David Dawkins

Wonderful! I would love to see a quick tutorial on how you're using vim (?) here as a mini IDE. I'm muscle-memory vi user from back in the late 80s (it will never go away) and am pretty productive in vi itself but never learned how to do what you're doing in this video.

readyplaygames

I was glued to the screen the entire time. I also am interested in the C compiler.

Richard Wells

Instead of including wozman.s in bios.s, could you compile them separately and let the linker combine them?

Matt

Awesome video! I tried getting CC65 working a while ago but I was stumped by the cryptic documentation, so it's great to have you explain it. Any plans for writing C for it later on?

Michael Doornbos

Is this in a repo somewhere? I don't mind typing it out, but it would save me the inevitable typos ;-)