GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 11 minutes ago, HOME AUTOMATION said: I was hoping you'd be more open minded about this. do you suggest we try a different buffer address? Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 (edited) my PAB address FPBADR equ >F80 BUFR equ >820 my pab FPBADR DATA >0000,BUFR,>0000,>8192,>OOOF does this look ok? Edited January 28, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 28, 2021 Share Posted January 28, 2021 39 minutes ago, GDMike said: Yes, that is understood, I'm just wondering if I'm doing it correctly with a VMBR. No. That is incorrect. VMBR copies from VRAM to RAM. To write to disk, you must copy stuff to your VRAM buffer with VMBW. ...lee Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 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 @VMBR Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 (edited) 4 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 Edited January 28, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 28, 2021 Share Posted January 28, 2021 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 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 Actually, I cannot do this, my Data is only 4K Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 (edited) is my buffer address ok was BUFR EQU >1000 NOW BUFR EQU >820 and if so, ill continue to work it out... Edited January 28, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 28, 2021 Share Posted January 28, 2021 1 minute ago, GDMike said: Actually, I cannot do this, my Data is only 4K Then copy 4 KiB to BUFR, switch SAMS banks, Copy another 4 KiB to BUFR+4096. ...lee 1 Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 28, 2021 Share Posted January 28, 2021 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 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 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 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted January 28, 2021 Share Posted January 28, 2021 (edited) 34 minutes ago, GDMike said: do you suggest we try a different buffer address? Quote use VDP RAM from 0 to 15119 Yes ...0! ? Edited January 28, 2021 by HOME AUTOMATION Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 28, 2021 Share Posted January 28, 2021 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 Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 28, 2021 Share Posted January 28, 2021 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 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 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 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted January 28, 2021 Share Posted January 28, 2021 50 minutes ago, GDMike said: FPBADR DATA >0000,BUFR,>0000,>8192,>OOOF does this look ok? >0000 = >0600 >8192 = 8192 OOOF = 000F Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted January 28, 2021 Share Posted January 28, 2021 1 hour ago, GDMike said: FPBADR equ >F80 BUFR equ >820 This buffer will overwrite the PAB at >F80! Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted January 28, 2021 Share Posted January 28, 2021 ...is it getting warmer in here? 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 i got it.. its working, just save my 1st 3 SNP pages to DISK! Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 Whohoo.. special thanks to all you dudes!!! It's working!! 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 40 minutes ago, HOME AUTOMATION said: This buffer will overwrite the PAB at >F80! i changed to PABADR >1000 and BUFR EQU >10AA Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 I can't believe its working.! 8K of it moved fantastic! im so thrilled. It was a bleeding POST, but we got the job going in the right direction. how coool!! Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 (edited) 55 minutes ago, HOME AUTOMATION said: ...is it getting warmer in here? 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. VID_20210128_111651325.mp4 Edited January 28, 2021 by GDMike 1 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted January 28, 2021 Share Posted January 28, 2021 I've been there before... ...hope to be back soon too!? 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 28 minutes ago, HOME AUTOMATION said: I've been there before... ...hope to be back soon too!? I hope so! You been...still Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.