Jump to content
IGNORED

Supernotes


GDMike

Recommended Posts

5 minutes ago, GDMike said:

so this is incorrect Lee? wow, I really thought this was right.

 

What you wrote says copy 8192 bytes from VRAM address, S32P1(?), to RAM address, BUFR(?). What you want to do is to copy 8192 bytes from RAM address, S32P1 to VRAM address, BUFR:

       LI   R0,BUFR
       LI   R1,S32P1
       LI   R2,8192
       BLWP @VMBW

...lee

Link to comment
Share on other sites

6 minutes ago, GDMike said:

is my buffer address ok?  was BUFR EQU >1000

 

NOW,  BUFR EQU >820

 

>820 is right in the middle of the Pattern Descriptor Table. >1000 should be fine as long as >2FFF (>1000 + >2000 -1) is not above the address in scratchpad RAM’s >8370.

 

...lee

  • Like 1
Link to comment
Share on other sites

6 minutes ago, GDMike said:

Lee, After i setup my buffer with my data

I have this

 

LI R0,FPBADR

LI R1,SAVE

BLWP @DSR

FDBADR EQU >802

DSR says MOV R6,@pointr

BL @DSRLNK

DATA 8

 

SAVE is the address of the byte you want to copy...so:

       LI   R0,FPBADR
       MOVB @SAVE,R1
       BL   @DSR
FDBADR EQU  >802
       BLWP @DSRLNK
       DATA 8

...lee

Link to comment
Share on other sites

27 minutes ago, GDMike said:

btw, please make sure im moving CPU data to VDP buffer

BUFR EQU >0820

S32P1 (my data at >3000 of 4K)

 

LI R0,S32P1

LI R1,BUFR

LI R2, 8192

BLWP @VMBW <----- is this ok

 

Yes, but for VMBR and VMBW, R0 is always VRAM and R1 is always RAM, so you have them backwards.

 

...lee

Link to comment
Share on other sites

1 minute ago, Lee Stewart said:

 

Yes, but for VMBR and VMBW, R0 is always VRAM and R1 is always RAM, so you have them backwards.

 

...lee

lee, I apologize...It was late last night and I made a typo, Ive since corrected as @THEBF pointed it out...

I was really out of it...Im back to normal...well, yeah...LOL

 

Link to comment
Share on other sites

55 minutes ago, HOME AUTOMATION said:

...is it getting warmer in here?

 

1169384768_theheatisON.jpg.25abe5dbc5bdd2ca26506d3fe1a993c9.jpg

 

:grin:

It's going to cool down.. I've got data to move and more videos to make, oh how I love when a plan comes together. You guys are da best! This is what I needed to learn. Can't wait to get into forth with Geneve. But this project is getting close to the finish line each day.

This week I set out to try and learn DSR, ok, again. And with better results ?, a fantastic group of smart people that makes a difference.

Salute.

Edited by GDMike
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...