Mednafen Members Members   Search Search   Help Help   Register Register   Login Login   Home Home
Home » Other » PC Engine, PC-FX » RAM code
Show: Today's Messages  :: Show Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
RAM code [message #670] Thu, 08 February 2007 19:13 Go to next message
Administrator  [PM]
Hello,

I recently played with code in RAM. It allows you to do self modifiable code or save some load/store instructions by directly setting the data.

The example attached set irq1 interrupt vector at ram location $2200. And subroutines called for hsync and vsync are changed during execution (the hsync/vsync can be messy, i haven't tested it in depth). I'll try to put an example of self modifying code later.

  • Attachment: ramtest.asm
    (Size: 5.73KB, Downloaded 385 time(s))

Re: RAM code [message #671 is a reply to message #670 ] Thu, 08 February 2007 19:13 Go to previous message
Administrator  [PM]
Woops i forgot to say that this code is for wla-dx
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:SuperGrafx VPC demos
Next Topic:VDC and screensize & nits
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ ]

Current Time: Sat May 11 05:58:39 CDT 2024
.:: Contact :: Home ::.

Powered by FUDforum.
Copyright © FUDforum Bulletin Board Software