Coding in the kernel or a command

  • Use BRK commands in your code (see files primitives, etc)
  • if a primitive is missing, you can add it in bank7 (and declare it in oric.h)
  • if you need 16 bits pointer, you can use RES (16 bits) and RESB (16 bits) on page 0. But if you call BRK primitives theses pointers are used too. You must use mainly these 2 labels, if you needs others you can use others.
   ldy #$00
   lda (RES),y
   sta (RESB),y