Target — SMS / Game Gear (+sms)
SkillCommunicationz88dk +sms only: Sega Master System / Game Gear. Classic default, newlib CLIBs, VDP/PSG console path, .sms/.gg packaging. Use when the task is explicitly +sms / Master System / Game Gear.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Target — SMS / Game Gear (+sms) skill
What this skill tells your AI
The instructions your AI receives, as published by z88dk/z88dk in .agents/skills/target-sms/SKILL.md and read by ahel’s review.
| Config | lib/config/sms.cfg |
| Trees | classic libsrc/target/sms/; newlib libsrc/newlib/target/sms/ |
| Headers | include/arch/sms (classic include path in cfg) |
| Wiki | wiki/platforms/Platform---SMS.md |
| Help | zcc +sms -h |
Defaults
| Item | Value |
|---|---|
| CLIB | classic default → -lsms_clib -lndos |
| SUBTYPE | default → -Cz+sms → .sms |
| Defines | __SMS, __Z80 |
Bare zcc +sms … is classic.
Classic vs newlib
| World | Select | Link / CRT |
|---|---|---|
| Classic | default | -lsms_clib, classic sms_crt0 |
| Newlib | -clib=new / sdcc_ix / sdcc_iy | -lsms, sms_crt.asm.m4 |
Wiki smoke note: newlib CLIBs exist; minimal printf may not link (_stdout) on a bare program — use newlib SMS examples / CRT that instantiates stdio, not assume classic drop-in.
Subtypes
| Subtype | Role |
|---|---|
default | Master System ROM via +sms |
gamegear | -Cz+sms -Cz-e -Cz.gg + __GAMEGEAR__ → .gg |
none | no packaging |
Aliases: --smslib, --smslib-md (pragma defines for SMSlib-style builds).
Hardware (agent-relevant)
| Item | Spec |
|---|---|
| CPU | Z80 ~3.58 MHz |
| RAM | 8 KiB |
| Video | VDP (TMS-class), 16 KiB VRAM |
| Sound | SN76489 PSG |
| Classic lib | gencon / hires gfx / PSG / joystick / interrupts (see wiki checklist) |
| File I/O | generally no classic disk stack |
SMSlib notes: libsrc/target/sms/SMSlib/README.md when using that stack.
Recipes
zcc +sms -vn game.c -o game -create-app # .sms
zcc +sms -subtype=gamegear -create-app -vn …
zcc +sms -clib=sdcc_iy -create-app … # newlib; watch CRT/stdio
Agent notes
- Not Spectrum — no TAP/NEX recipes.
- Prefer classic for console/graphics samples under
examples/sms/. - Related:
cpu-z80,library-classic,tool-appmake.
Signals
- GitHub stars
- 1k
- Forks
- 206
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
target-sms- Source
- github.com/z88dk/z88dk