• View
  • Changes
  • Options
  • Related
  • Edit
  • Function Name

    i_FillRam

    Purpose

    Identical to FillRam, but with inline data. Fills a memory region with a specified byte.

    Call Address

    $C1B4

    Input

    The addresses to use are provided inline in the bytes following the call:

    JSR i_FillRam ;The routine call.

    .word LengthofRegion ;The length of the region to fill.

    .word AddressofRegion ;The address of the region.

    .byte FillByte ;The byte to fill the region with.

    NOP ;Control returns here after the JSR.

    Description

    A simple loop fills the memory region with the specified byte value. This routine uses inline data to set everything up before calling FillRam. The stack is altered so that returning from this routine skips the 5 bytes following the call. The intervening 5 bytes are used as the routine's input.

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Full list of journal entries

     

  • View
  • Changes
  • Options
  • Related
  • Edit

  • - Close card. - Open card. - Go to card.
    - View card. - Card's history. - Card's options. - Card's relations. - Edit card.
    - Search deck. - Add new card.

     

    Wheeled by Wagn v. 1.5.3