Jump to content
  • entries
    28
  • comments
    6
  • views
    16,803

Posting to self for other cmp


Dmitry

734 views



void dli()
{
asm("ldy #$70");
asm("sty $7C20");
asm("sty $7C21");
asm("sty $7C22");
asm("ldy #$46");
asm("sty $7C23");

//this has to be screen memory
asm("ldy #$00");
asm("sty $7C24");
asm("ldy #$40");
asm("sty $7C25");


asm("ldx #$00");
asm("lda #$06");
loop:
asm("sta $7C26,X");
asm("inx");
asm("cpx #$17");
asm("bne %g",loop);

asm("lda #$07");
asm("sta $7C2A");

//jump and wait
asm("lda #$41");
asm("sta $7C3D");

//ij
asm("lda #$20");
asm("sta $7C3E");
asm("lda #$7C");
asm("sta $7C3F");

//set DList to $7C20
asm("ldy #$20");
asm("sty $0230");
asm("ldy #$7C");
asm("sty $0231");


asm("ldy #$00");
asm("sty $58");
asm("ldy #$40");
asm("sty $59");



}

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...