#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

#177 in Graphics APIs

45 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

~330–790KB
~19K SLoC