floooh/chips
View on GitHub ↗ ★ 1,296 C
8-bit chip and system emulators in standalone C headers
19 mentions on Hacker News by 6 people: 0 stories, 19 comments · first 2017-12-30 · latest 2026-10-17
20082026
-
…integer that maps logic levels of interest at a given simulation step to its individual bits: - https://github.com/floooh/chips/blob/master/README.md - https://github.com/floooh/chips/blob/9e88298ce56319953ac7a43... -…
comment by rzzzt · 2026-10-17 · in The Commodore 64 hardware simulator: break chips and pins, see the results -
The actual emulator code lives here (all in STB-style headers): https://github.com/floooh/chips The chips-test repo has the 'integration' code which assembles the headers into executables: https://github.com/floooh/chips-test There's also…
comment by flohofwoe · 2026-07-13 · in Tiny Emulators -
Have you seen https://github.com/floooh/chips A bunch of PIO linked chips using these interfaces would feel like a weird blend of software and hardware that stands separately to the FPGA world. I have wondered if it would actually work as…
comment by Lerc · 2025-06-01 -
…junity/z80-open-silicon/blob/974c7711b2... And here's the same machine cycle in my software emulator: https://github.com/floooh/chips/blob/bd1ecff58337574bb46eba5... Both set the address bus to the content of the DE register (and at the…
comment by flohofwoe · 2024-04-28 · in Zilog Z80 CPU – Modern, free and open source silicon clone -
…undocumented behaviour - which barely matters in practice though). The Z80 and 6502 emulators in https://github.com/floooh/chips are tested against their respective netlist simulations for correct behaviour and timing (all being based on…
comment by flohofwoe · 2024-04-14 · in Getting into way too much detail with the Z80 netlist simulation (2021) -
…PS: the Spectrum Analyzer is actually using emulators from that same 'chips project' ( https://github.com/floooh/chips ). Props for the shoutout :) Here in the "sister project" there are some re-used windows from my debugger ui visible (…
comment by flohofwoe · 2024-02-09 · in Spectrum Analyser, a Sinclair ZX Spectrum reverse engineering tool -
…turn calls per-cycle-functions in each of the chip emulators (which may each be just as much code): https://github.com/floooh/chips/blob/9a7f6d659b5d1bbf72bc8d0... I'm trying to strike a balance between 'purity' (e.g. an entire emulated…
comment by flohofwoe · 2024-01-17 · in BBC BASIC raytracer in 432 characters -
…see a noticeable performance difference between WASM and native for this type of "worst case code": https://github.com/floooh/chips/blob/f5b6684ff6e899429544b21...
comment by flohofwoe · 2023-08-17 · in A world to win: WebAssembly for the rest of us -
…anyway that seemed kinda wrong). [1] https://github.com/zajo/appler/blob/develop/src/65C02.ASM [2] https://github.com/floooh/chips/blob/master/chips/m6502.h [3] https://github.com/zajo/appler/blob/52aaa0f768cdf303438cd2c7...
comment by flohofwoe · 2023-03-08 · in Appler: Apple ][ emulator for IBM PC, written in 8088 assembly -
…but this emulation library [0] of 8 bits computers is pretty well written, documented and designed: https://github.com/floooh/chips . It's a good way to document old hardware with emulation code.
comment by skywal_l · 2022-09-11 · in Ask HN: What's the best source code you've read? -
…here's the source code of the emulators: 8-bit chip and system emulators in standalone C headers - https://github.com/floooh/chips
comment by lioeters · 2021-11-24 · in Tiny Emulators -
…version) with surprisingly few changes to the code-generation script. PS: the whole stuff is here: https://github.com/floooh/chips PPS: an interesting approach (which I haven't tried) for 6502 emulation would be to use the 6502's decode…
comment by flohofwoe · 2020-11-16 · in Code generating a WebAssembly 6502 emulator from specifications -
…built from functions which take a 64-bit integer as input, and return another 64-bit integer. https://github.com/floooh/chips
comment by flohofwoe · 2020-05-03 · in RustBoyAdvance-NG: GameBoy Advance emulator and debugger, written in rust -
…has exponential behaviour it could easily blow up to minutes or hours for larger functions. [1] https://github.com/floooh/chips/blob/d0f690f2598f967f75cb360... [2] https://github.com/floooh/chips/blob/d0f690f2598f967f75cb360...
comment by flohofwoe · 2020-01-20 · in How refactoring a macro reduced my Rust project build time from 4 hours to 40sec -
…now, since we only have 8-bit platforms at low clock speeds. Integrating a C emulation library like https://github.com/floooh/chips should be doable, since it doesn't have any dependencies.
comment by sehugg · 2019-12-16 · in WebAssembly becomes a W3C Recommendation -
…started writing easy to integrate 8-bit chip emulators in standalone C headers a little while ago: https://github.com/floooh/chips For instance used in these WASM emulators: http://floooh.github.com/tiny8bit
comment by flohofwoe · 2018-11-11 · in 6502 source code for BBC Micro game Crazee Rider from 1987 -
Yes, the sample's source code is here: https://github.com/floooh/chips-test/blob/sokol-app/examples... The pure 8-bit chip emulators are here: https://github.com/floooh/chips You can also start with the 'proper' emulator this is based on:…
comment by flohofwoe · 2018-06-28 · in Barebones C64 emulator written in C99, compiled to WebAssembly in under 64K -
…it. For instance the Z80 and 6592 CPU emulators use generated code for the instruction decoder: https://github.com/floooh/chips/tree/master/codegen
comment by flohofwoe · 2018-06-02 · in One year of C -
…http://z80.info/decoding.htm Here's what such a code-generated instruction decoder looks like: https://github.com/floooh/chips/blob/master/chips/_z80_decod... (this is for a "real" Z80 with all undocumented opcodes, so it has a lot more…
comment by flohofwoe · 2017-12-30 · in Show HN: Simple Gameboy Emulator