#platform #input #specification #maikor #16-bit #game #register

maikor-platform

Maikor Platform specifications (language, addresses, etc)

13 releases

0.1.29 Jul 23, 2022
0.1.28 Jun 1, 2022
0.1.27 May 29, 2022

#178 in Graphics APIs

Download history 3/week @ 2024-02-19 22/week @ 2024-02-26 6/week @ 2024-03-04 14/week @ 2024-03-11 5/week @ 2024-03-18 212/week @ 2024-04-01

233 downloads per month
Used in 4 crates

MIT license

125KB
2.5K SLoC

Maikor

⚠️ Work in progress

Links may be broken, features missing, etc

Cross-platform 16-bit game system

See more at maikor.app and the project homepage

Play

Android

iOS

Windows, macOS and Linux

Make

iOS IDE

Desktop IDE

Build tools

REPL

Docs

maikor-platform

  • constants
    • Graphical constants and limits for the platform
  • graphics
    • Sprite bit masks
  • input
    • Bits used for inputs
  • mem
    • sizes
      • Size in byte of sections
    • addresses
      • Address in bytes of sections
  • names
    • op
      • Short names, eg. CPY.B
    • full
      • OP + args, eg. CPY.B (R,N)
  • op_params
    • Registers are encoded in one byte, the first four bits are Pre/Post Inc/Dec and the last four bits are the register
  • ops
    • Codes for ops
  • registers
    • offset
      • Address of register
    • ids
      • ID of register
    • flags
      • Bits for flag register

Dependencies

~0.3–0.8MB
~19K SLoC