Jump to content
IGNORED

Writing "ROM" on Lynx GD


42bs

Recommended Posts

Yes. I'm doing this successfully in Unlit every scene.

 

Edit: oh, I probably misunderstood your intention. You can load new rom content from file, but not change image and reboot or something

Edited by laoo
Link to comment
Share on other sites

22 minutes ago, laoo said:

Yes. I'm doing this successfully in Unlit every scene.

 

Edit: oh, I probably misunderstood your intention. You can load new rom content from file, but not change image and reboot or something

Yes, I wanted to write the "current" ROM. I guess the firmware moves the .LNX file from SD card to RAM and then reboots. Then the RAM is seen by the Lynx.

So it would be nice to modify this RAM from code running on the Lynx.

Link to comment
Share on other sites

GD has API function ProgramROMFromFile that loads currently open file from actual position (seeks are cheap) to any continuous span of blocks in cartridge RAM - you specify start block, block count and block size. So I see some scenarios, but I guess that you are thinking about transferring data to Lynx program through ComLynx, writing data to a file, programming cartridge and jmp ($fffc). Should work

 

 

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