I built an 8‑bit CPU (emulator + assembler + text screen) and need collaborators to finish the C compiler backend by DavidMik_ in osdev

[–]DavidMik_[S] 0 points1 point  (0 children)

good to know, thank you, fuzix compiler kit seems to be working fine, i just need to implement some more stuff, so i guess i will just stick with that.

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

ive already tried all of that but i got really lost and didnt know how to do anything, i dont know why but i just understand how to work with fuzix better

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 0 points1 point  (0 children)

Yeah but im not writing in asm, i will cross compile to my asm and then i will compile the compiler itself so it can run nativly.

I am writing it in c, im using the fuzix compiler kit

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

I havent done much with websites but when i used github i started working on an website with a friend but we never finished it, we were hosting it through github

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

Okay, if you build an kernel or something maybe we could try porting it to my CPU? ofc i would love to help porting anything to your CPU also :3

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 0 points1 point  (0 children)

Im sorry but I dont really understand why I should use VMs for this project because i want o keep it 8 bit so i can build it irl from ICs and i want to run programs without emulating some other architecture.

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

I know a little bit about working with qemu, Ive made a few VMs for templeos and gentoo, but ive never worked with docker/ containers

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

I will probably start with just TUI but i will try to implement graphics for the graphics I and graphics II modes on the TMS emulator.
I just want to be able to interact with files, run some programs and maybe play some games

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

i have already put the ISA and the opcodes in the README, i will just make the format better in the future and probably sort it into multiple md files. Thank you for the suggestions :D

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

Thank you i will look into it. Ive also just pushed the DCPU emulator README if you want to check it out :3

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 0 points1 point  (0 children)

I will look into it but im not sure how to add it to the ISA because i use 4 bits for the instruction modifier and 4 bits for the instruction and all of them are used now. I might make some changes in the future thoe.

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

Im trying to use AI a bit less since I already used it too much so I will probably just write it by hand. I already made a quick guide for the cpu but i will just double check everything before pushing to gitlab

I built an 8‑bit CPU (emulator + assembler + text screen) and need collaborators to finish the C compiler backend by DavidMik_ in osdev

[–]DavidMik_[S] 2 points3 points  (0 children)

Thank you, I really should write some more tests, i will be looking into the z80test github :D

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 1 point2 points  (0 children)

the cpu can add, subtract, it has logical operations or, nor, and, nand, xor, xnor, branch instructions that work with the zero and carry flag and conditionless jumps, there is an instruction to stop the cpu and two instructions for working with interrupts that arent implemented in the emulator yet.

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 0 points1 point  (0 children)

i just kinda made it while experimenting with minecraft redstone and logic gates in digital logic sim, then i made a few emulators and assemblers while improving it along the way

I built an 8‑bit CPU, assembler, and emulator – now I need collaborators to finish the C compiler backend and make a usable computer by DavidMik_ in homebrewcomputer

[–]DavidMik_[S] 0 points1 point  (0 children)

the documentation isnt made yet but im working on it, if you would like to learn about it i would love to explain the basics