小编mel*_*bok的帖子

How to write two bytes to a chunk of RAM repeatedly in Z80 asm

I'm trying to write two bytes (color values) to the VRAM of my TI-84 Plus CE-T calculator, which uses the Zilog eZ80 CPU. The VRAM starts at 0xD40000 and is 0x25800 bytes long. The calculator has a built in syscall called MemSet, which fills a chunk of memory with one byte, but I want it to alternate between two different values and store these in memory. I tried using the following code:

#include "includes\ti84pce.inc"

    .assume ADL=1
    .org userMem-2
    .db …
Run Code Online (Sandbox Code Playgroud)

assembly z80 texas-instruments

6
推荐指数
3
解决办法
280
查看次数

标签 统计

assembly ×1

texas-instruments ×1

z80 ×1