frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: I wrote a custom assembler for CHIP-8 in C++

https://github.com/Tackx/c8-ass
20•tack1234•1d ago
I'm writing a custom assembler for CHIP-8 and just finished adding support for the DB/.byte directive so I can embed sprites in the ROM and finally get something drawn on the screen. It SHOULD support all OG CHIP-8 instructions, but still a ton of rough edges that I'm ironing out.

This is my first ever C++ project, just like the CHIP-8 emulator was my first ever C (and emudev) project. It's so satisfying to write assembly and have your program spit out a ROM that actually runs in the emulator you wrote.

All code is written by me (a lot of it livestreaming) as evident by the quality, no AI.

Comments

rfgplk•27m ago
Nice job!
Stevenrojas888•24m ago
Awesome milestone! As someone diving into C and C++ right now, what was the steepest part of the learning curve for you when structuring the assembler compared to writing the emulator in C?
Retr0id•8m ago
Nice, chip8 is a lot of fun. I looked at your emulator implementation too, and it looks like you have an OOB access bug in the I register (it can be incremented beyond the RAM array bounds). This is a very common chip8 emulator bug, which can (in some cases) be exploited to allow a malicious ROM to escape the emulator. I wrote about this here: https://www.da.vidbuchanan.co.uk/blog/bggp3.html

Show HN: I wrote a custom assembler for CHIP-8 in C++

https://github.com/Tackx/c8-ass
21•tack1234•1d ago•3 comments

Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

https://cactuscompute.com/needle
207•HenryNdubuaku•1d ago•89 comments

Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations

https://github.com/arnegiacomo/fugleramme
2332•arnemunthekaas•4d ago•257 comments

Show HN: Scry, programmable internet search w/ congestion pricing

https://scry.io/
56•Xyra•1d ago•23 comments

Show HN: Ax-check.com – Can agents use your product?

https://www.ax-check.com/
33•0x63_Problems•1d ago•38 comments

Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe

https://liveworld.info/
34•harisingh1612•13h ago•32 comments

Show HN: Jeff – A read-only CLI for semantic code review using Jev

https://github.com/Alurith/jeff
24•imalessandro•19h ago•4 comments

Show HN: Snapdrop: Instantly share files between devices. No setup, no signup

https://snapdrop.me
104•Capira•1d ago•48 comments

Show HN: Share your AI Setup, Learn from others

https://mysetup.ai/
234•steveybrown•2d ago•135 comments

Show HN: Procedurally Generated Mineral Gems

https://gems.0x0000007a.com/
3•Dramatize•17h ago•0 comments

Show HN: An OSS Python dependency scanner for exploited, unmaintained packages

https://github.com/binuka200/package-doctor
3•binukajayaweera•13h ago•2 comments

Show HN: Craigslist for agent skills, curated by a human

https://skillbay.sh/
25•skeptrune•1d ago•18 comments

Show HN: Hacking a $20 4G wireless hotspot into a texting device

https://bkovac.github.io/modem-thing/
208•bobili1234•4d ago•37 comments

Show HN: AttaLambda: a language where types and data are made of untyped lambdas

https://attalambda.com
45•kserrec•4d ago•7 comments

Show HN: I built a new version of my fun spatial 3D online meeting app

https://flat.social
97•pawelwentpawel•2d ago•52 comments

Show HN: Free game to destroy any web page

https://page-rage.com/
17•alexreardon•1d ago•7 comments

Show HN: Capsule – Single-file web apps that save their data into SQLite

https://withcapsule.app/
377•bashtian•4d ago•166 comments

Show HN: TypeSeer – on-device autocomplete for every text field on macOS

https://typeseer.com/
4•animateus•15h ago•1 comments

Show HN: How Stale Is Your AI? Release age and training cutoff for 20 models

https://stale.jock.pl/
79•joozio•3d ago•49 comments

Show HN: Microsoft Office running with Wine on Linux with no virtualization

https://github.com/Tombert/office365_flake
88•tombert•1d ago•84 comments

Show HN: Aclif – Agent CLI framework: one grammar, canonical names across SaaS

https://www.aclif.ai/
33•chris_marino•1d ago•17 comments

Show HN: Go Implementation of Systemd Time

https://gitlab.com/allddd/go-systemd-time
3•allddd•18h ago•0 comments

Show HN: Yello. Let your agents chat with other people's agents

https://yello.sh
2•tony_francis•18h ago•2 comments

Show HN: LingBot-World 2.0 (1.3B) running at 16 FPS on one RTX 5090

https://github.com/kaarelkaarelson/lingbot-world-v2-realtime
3•kaarelson•18h ago•2 comments

Show HN: A model index from the AI Gateways

https://www.computesdk.com/benchmarks/ai-gateway/models
5•heygarrison•18h ago•0 comments

Show HN: OJ – A drop-in replacement for Vite in Rust

https://github.com/lovablelabs/oj
17•h1fra•1d ago•1 comments

Show HN: Timeline, a team project planner with a fast canvas Gantt view

https://github.com/vakahnke/Timeline
2•vakahnke•20h ago•3 comments

Show HN: Pizza Bot – An inbox for AI agents that work in the background

https://github.com/pizza-bot-app/pizza-bot
59•jd_•3d ago•35 comments

Show HN: Attar – Compile React apps to native machine code

https://attar.dev/
6•ifdotpy•1d ago•0 comments

Show HN: A Prometheus exporter for Sagemcom F3896 cable modems

https://github.com/colinedwardwood/sagemcom-docsis-exporter
2•b1shp•20h ago•0 comments