Cyprian Posted March 25, 2021 Share Posted March 25, 2021 what does that mean and how to avoid that message? I have only one file with 6800 and GPU code. Quote Link to comment Share on other sites More sharing options...
Zerosquare Posted March 25, 2021 Share Posted March 25, 2021 Check that you have not forgotten to put a .org statement before your GPU code. Quote Link to comment Share on other sites More sharing options...
Cyprian Posted March 25, 2021 Author Share Posted March 25, 2021 There is no .org due to that code is in ROM and is used only once for setting Object Processor list. And actually I have no idea which address should be put in .org .long .gpu gSetOLP: movei #olp2set,r0 ; Read value to write load (r0),r1 movei #OLP,r0 ; Store it store r1,(r0) moveq #0,r0 ; Stop GPU movei #G_CTRL,r1 store r0,(r1) nop ; Two "feet" on the brake pedal nop Quote Link to comment Share on other sites More sharing options...
Zerosquare Posted March 26, 2021 Share Posted March 26, 2021 The warning is expected in that case, it's documented in the lines just above your snippet: ; NOTE!!!: This code can run in DRAM only because it contains no JUMP's or ; JR's. It will generate a warning with current versions of MADMAC ; because it doesn't '.ORG'. Quote Link to comment Share on other sites More sharing options...
Cyprian Posted March 26, 2021 Author Share Posted March 26, 2021 ok 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.