---
title: "Comment by Ahmet Özel on \"I built a language model for a 1984 MSX\" | Hashnode"
description: "Fitting a 920k-parameter language model into an MSX1 cartridge ROM on a 3.58 MHz Z80 without a hardware multiply instruction is a brilliant exercise in hardware"
url: "https://hashnode.com/posts/i-built-a-language-model-for-a-1984-msx/6b04c9e5894a34c55fc69841/comment/6b066f8e743cab242bd11c4b"
---

[Discussion](https://hashnode.com/posts/i-built-a-language-model-for-a-1984-msx/6b04c9e5894a34c55fc69841)

Comment [I built a language model for a 1984 MSX](https://hashnode.com/posts/i-built-a-language-model-for-a-1984-msx/6b04c9e5894a34c55fc69841)

[Ahmet Özel](https://hashnode.com/@ahmetozel)

[1d ago](https://hashnode.com/posts/i-built-a-language-model-for-a-1984-msx/6b04c9e5894a34c55fc69841/comment/6b066f8e743cab242bd11c4b)

Fitting a 920k-parameter language model into an MSX1 cartridge ROM on a 3.58 MHz Z80 without a hardware multiply instruction is a brilliant exercise in hardware-aware model design. Choosing a single-layer recurrent architecture with a fixed 384-byte 8-bit hidden state avoids both the quadratic attention products and the growing KV cache that would immediately blow past 64 KiB of RAM.

Dropping the GRU reset gate so the update gate and candidate state share lookup tables—paired with ternary weights—shows how much co-designing architecture and memory layout can squeeze out of severely constrained silicon.
