r/homebrewcomputer • u/According-Watch471 • 2h ago
r/homebrewcomputer • u/According-Watch471 • 3h ago
I built a new 65816-compatible computer from the silicon up, and you can try it in your browser
galleryr/homebrewcomputer • u/0boy0girl • 13h ago
is there an android app similar to logisim(evolution)
reddit.comsorry if the cross post is bad form here, I posted it on the logisim sub and didn't get any response :< so I thought I'd try here
r/homebrewcomputer • u/ceharris414 • 1d ago
ca69: new assembler tool chain for 6809/6309
I'm happy to announce ca69, an open-source assembler toolchain for the Motorola 6809 and Hitachi 6309. In my work with the cc65 toolchain for the 6502, I have really come to appreciate its clean syntax, powerful directives, and its incredibly flexible linker that makes it really easy to create system images for virtually any hardware configuration. Imitation being the most sincere form of flattery, ca69 uses ca65's source syntax and ld65-style linker configurations, extended to cover the full 6809 and 6309 instruction sets. The toolchain includes the ca69 assembler and the ld69 linker, which can output binary images, S-records or Intel HEX, along with map, label and debug files. It also includes utliities for creating object libraries, dumping object files, etc.
For older code, tr69 converts sources written for as9, a09, or FLEX's ASMB into ca69 source that you can subsequently modify and maintain in a modern form. Starting with the CoCo ROM sources it produces byte-for-byte identical binary objects to what is produced by the a09 assembler. ca69 can also assemble those older dialects directly with --dialect, without saving the translated result.
In the interest of full disclosure, I want to note that generative AI has been used extensively in producing this work. If this bothers you, please just disregard this post and the product. In more than four and half decades in this field, I've written many interpreters, compilers, and assemblers, for many different languages. I could write an assembler and linker for this machine architecture myself, without AI assistance. But at my age, I don't want to spend my time writing cross-development tooling for my beloved old hardware. I want to spend my time writing code for that beloved old hardware itself.
ca69 is written in C11, builds with CMake, and runs on macOS, Linux and Windows (via WSL2). It comes with a full user manual (online and as a PDF) and a VS Code extension, also on Open VSX, that adds syntax highlighting, completions and builds. The code is MIT-licensed at https://github.com/ceharris/ca69. Feedback, bug reports and contributions are welcome!
r/homebrewcomputer • u/CrumararenMoornen • 2d ago
The Helio 2400 Architecture
My first real hardware project. It's not perfect, but i'm pretty proud of it. Now I just have to... y'know... get an FPGA to test it on. And rewrite my entire emulator to agree with the RTL implementation, since I built my emulator before I built the CPU itself... sigh.
r/homebrewcomputer • u/Willing-Help7513 • 2d ago
roscoOS : un OS 68k fait maison avec BASIC, FAT et inspiration OS-9
Bonjour à tous,
Après 6 mois de développement en C et Assembleur, je suis fier de partager l'avancement de roscoOS pour le ROSCO_m68k (Motorola 68000).
Au programme : support FAT32 sur carte SD, un shell, un éditeur de texte, un interpréteur BASIC, et un gestionnaire de processus simple. C'est un projet passionné pour tous ceux qui aiment mettre les mains dans le 68000.
Le projet est open-source (licence MIT) et en constante évolution. N'hésitez pas à jeter un œil au code, à tester les binaires ou à me donner vos retours !
🔗 Lien GitHub : https://github.com/hfp06/roscoOS-68k
🎥 Vidéo de démo : https://github.com/user-attachments/assets/0909dd4e-1270-47a1-96ee-b5639531fb54
r/homebrewcomputer • u/Theoblivion64 • 6d ago
I'm building an 8-bit / 16-bit hybrid computer emulator with its own custom architecture and language, called Oblivion64.
r/homebrewcomputer • u/KryllyxOfficial • 7d ago
Need help designing the control unit for my CPU design
Sorry if this is the wrong place to ask about this, I just don't really know where else I should post this.
Context:
I am building my own CPU on breadboards using 7400-series ICs, with my own custom ISA. See here for the spec if it helps at all.
Question:
I'm in the process of creating the base circuits in Logisim for easy testing, and the part of the project I'm at now is implementing the control unit that takes the bytecode from the program ROM and pulls high the necessary control lines. To be frank, I have no idea how to do this beyond a couple loose ideas. If y'all could provide any sort of direction, like links to videos or a better subreddit for this sort of question, I would be massively grateful.
Thank you for any help you can provide!
r/homebrewcomputer • u/Legitimate-Welder538 • 13d ago
beginner here, wanting to make a 2 Bits CPU and 1 byte of ram
i am ABSOLUTELY new to the world of self made tech, i barely know how to use logisim and i do NOT even know how to build something irl out of breadboards.
however, i would like to start learning all of this just for one project, making a computer with a 2 Bits CPU (risc core i think?) with one byte of ram.
and i just want it to display random text written in katakana
how hard will this be?, and how much time will it take?, as i said. i'm starting from 0.
r/homebrewcomputer • u/Maestro_gaylover • 18d ago
question about the clock
hello there, so far for my z80 computer i made a corcuit that and have a question, i want to use a separate clock for my modules and i will be using a 10Mhz cmos z80 with at28c256 eeprom and as6c62256a ram and the eeproms access time is 150ns. So my question is what type frequency clock should i use? i have 4 mhz crystal and 5-6 mhz oscillator
r/homebrewcomputer • u/AdministrationDry820 • 25d ago
Pugputer 6309 is turning out nicely
Hi Everybody. For the last few years, I've been working on a computer based on a Hitachi HD6309, a 1980's CMOS update of the Motorola MC6809. I've had several revs of hardware that I designed, built and tested, but software and emulation had always been slow-going and kept getting put off... until recently. Anyways, here's the
NEWS!
- Just added a C compiler that runs on the machine!
- Decent subset of C libs (stdio, math, stdlib)
- Inline assembly
Has libraries for game dev
- tile-maps, sprites, drawing bitmap graphics (works with built-in tilemap editor)
- music and sound effects player (works with built-in music editor)
- keyboard, gamepad, mouse
- RAM banking for code and data
- Demo C file showing off these features
SPECS
CPU Card: HD63C09P at 3.58 MHz, 1MB SRAM, 32K Flash, UART @ max 19200bps
- Can run standalone with serial terminal, S-Record upload, via 4K BIOS
Old Video/Sound Card: Yamaha V9958 (video chip used in MSX 2+), YMF-262 OPL3 (Same synth was used in Sound Blaster 16)
- Graphics and music demos
New Video/Sound Card: RP2350B DVI/HDMI, 8MB SRAM, 16MB Flash, Same OPL3 chip, SD Card.
- Three tile-map layers, each at 320x240 or 640x480
- 16 or 256 colors per tile, 8x8 or 16x16 sizes
- 128 sprites in all modes, with 32 per horizontal line
- Bitmap gfx modes
- Text mode at 80x30 and 80x60 with reprogrammable font, treated as a tilemap layer.
- USB Host for Keyboard, Mouse, and gamepad.
- BASIC extended to support these features, with examples
- Yes, it feels like cheating to use the modern chip, but it's working really well.
VIA/SD: WD65C22S VIA, ATMEGA328P, SD card
- This card superseded by the new video card, but this one is more retro
Schematics, pictures:
https://github.com/caiannello/Pugputer6309
SOFTWARE
- DOS-Like shell, FAT16 filesystem on SD card
- Fullscreen text editor via UART (if no video card attached) or video console
- 6309/6809 Assembler and linker running on the machine
- MS Extended BASIC with additions for good graphics, sprites, file operations
- VGM music player for OPL3 sounds
- Tilemap editor with mouse/keyboard support (I want to add a scripting language for making Pugputer games directly. For now, assembly language examples included.)
- Tracker-style Music player/editor for OPL3 with a couple hundred 2-op and 4-op general midi instruments
- Parallax-scrolling and music demo, with all assets editable using the above tools.
- 6309 assembly source for all software (BASIC, DOS, assembler, tilekit, songkit, editor, demos, etc.) is available on the SD card for customizing the system directly on the system
VIBE-CODED EMULATOR:
- Simulates CPU Card, Video/Music Card
- Has an SD card image with the above software
Pretty good parity with the real thing
- so you can try it for yourself without building anything
Windows/Linux x86_64 builds available in releases
- Build instructions for other systems
r/homebrewcomputer • u/kodifies • 25d ago
feel like I'm getting somewhere 68000 emulator and micro bios
yes its virtual... but it need not be.....
r/homebrewcomputer • u/Ehizia • 26d ago
A 16-bit computer made from ~900k NAND gates that runs its own OS with a file system, text editor and assembler
This is a computer built entirely from NAND gates in Gate Singular, a logic simulator game. In the video it assembles a Hello World on the machine itself, and then runs it.
Specs:
- 16-bit CPU with 24-bit instructions (8-bit opcode + 16-bit data)
- 30 instructions (206 if you count the variants of where operands come from and where the result goes)
- 1 KB of RAM and 24 KB of ROM in a shared address space, 2 registers, a 16-level stack, an 8-entry keyboard event queue, and a 64x64 screen with write-only VRAM
- Every instruction, including multiplication and division, runs in one clock
- Everything is made from 909191 NANDs. On top of that there are only buttons/toggles/LEDs and clock sources for temporal completeness. Nothing else is used.
The OS lives in the 24 KB ROM. It has a file system (in RAM), a text editor, memory management, an assembler to build new programs, and an OS API that those programs can use: text printing, memory allocation, file system access, keyboard input, etc.
By the way, I made the simulator game too (link in the comments).
I made it because I wanted one without the "1-tick delay per gate", and with full support for feedback between gates (e.g. so you can build proper D-latches from NANDs).
I'm happy to answer any questions about the CPU or the simulator.
r/homebrewcomputer • u/Gullible-Rush-4410 • 26d ago
I’m building a Raspberry Pi based Hayes WiFi modem to bring the BBS experience back
galleryr/homebrewcomputer • u/Tettiah • 27d ago
Mandelbrot Fractal set for Homebrew Z80 with DEC VT510 Terminal
galleryr/homebrewcomputer • u/Maestro_gaylover • 27d ago
could this circuit work? im trying to get bare minimum to work
this design is based on doctor volt on youtube
r/homebrewcomputer • u/SaadMasoodAlam • 28d ago
Been testing my 8-bit binary architecture with FPGA tools. Looking for some technical feedback.
r/homebrewcomputer • u/prussianIvory • 29d ago
Turning a I-400 controller into a computer
I recently took this apart to create a functional schematic of it as of to my knowledge none currently exist. I also plan to eventually use a separate Z80 that way I can make the Z8 on it can easily communicate. My goal is to try to make a CP/M computer using the shell and hardware of this + some stuff of my own
Here are some pictures of the 4 main boards
If this project goes well I might release the schematics I make online, though I’m trying to be as nondestructive as possible to its going to be hard in some areas
r/homebrewcomputer • u/DirkAudaz • 29d ago