Tyler Frisbee Posted December 13, 2015 Share Posted December 13, 2015 I've been trying to figure out how to use the DPC+ kernel, so I tried compiling the .bas for one of the example programs I found on Random Terrain's website. I can compile and run the code, but I am presented with a blank screen with two lines (see attached screenshot). I've been having the same problem with multisprite programs as well (same blank screen with two lines). I thought that it might be my emulator at first, but I can run the .bin version without any issues. I'm a noob so I'm out of troubleshooting ideas...does anybody know what I'm doing wrong (its probably something silly)? Thanks for the help! mini_ex_dpcfrac.bas Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 13, 2015 Share Posted December 13, 2015 Did you do what it says here: randomterrain.com/atari-2600-memories-batari-basic-commands.html#gettingstarted 1 Quote Link to comment Share on other sites More sharing options...
Tyler Frisbee Posted December 13, 2015 Author Share Posted December 13, 2015 Did you do what it says here: randomterrain.com/atari-2600-memories-batari-basic-commands.html#gettingstarted I am so sorry. I thought I had the most recent bB since I got it from the website...apparently I was wrong. I downloaded the updated version you linked to on your site and it works beautifully now. Thanks for your help! Quote Link to comment Share on other sites More sharing options...
freshbrood Posted August 17, 2017 Share Posted August 17, 2017 When I assemble my code using setromsize 32k with 8 banks, it works just fine. But when I replace setromsize 32k with set kernel DPC+ and reduce it to 6 banks, It just gives an error and refuses to assemble. Can someone tell me why? Quote Link to comment Share on other sites More sharing options...
+Karl G Posted August 17, 2017 Share Posted August 17, 2017 What error? Can you upload an example program that won't compile? Also, if you are using DPC+, there is no reason to set the romsize explicitly. Quote Link to comment Share on other sites More sharing options...
+TwentySixHundred Posted August 18, 2017 Share Posted August 18, 2017 When I assemble my code using setromsize 32k with 8 banks, it works just fine. But when I replace setromsize 32k with set kernel DPC+ and reduce it to 6 banks, It just gives an error and refuses to assemble. Can someone tell me why? Hello, you don't need to set the ROM size with DPC+ and the kernel uses all 8 banks. So trying to change it to 6 is probably causing the error because banks 1, 7-8 contain sprite graphics, ARM code and the DPC+ kernel. If you goto the playfield tab and 'rightclick-add-new_item' you will notice an example DPC+ kernel template (assuming you have the latest version of bB). Quote Link to comment Share on other sites More sharing options...
freshbrood Posted August 19, 2017 Share Posted August 19, 2017 Thank you for your help. Is is possible to use player0pointerlo=frame60lo:player0pointerhi=frame60hi:player0height=16 in the DPC+ ? I think that may have something to do with it. If so, what position/banks do you put your data tables/graphics/playfield? Thanks again Quote Link to comment Share on other sites More sharing options...
+TwentySixHundred Posted August 20, 2017 Share Posted August 20, 2017 You can place your 'data_tables/graphics/playfield' where ever you like in banks 2-6, then on compile graphics data will be stored in the graphics bank 7 i believe. RT's basic commands DPC+ kernel Quote Link to comment Share on other sites More sharing options...
freshbrood Posted August 20, 2017 Share Posted August 20, 2017 I need to condense my code before I post it.. but essentially, if I set romsize 32k it works.. but if I delete this and replace it with set dpc+ it does not. Would you please tell me what changes to make from 32k to dpc+ ? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted August 21, 2017 Share Posted August 21, 2017 I need to condense my code before I post it.. but essentially, if I set romsize 32k it works.. but if I delete this and replace it with set dpc+ it does not. Would you please tell me what changes to make from 32k to dpc+ ? The bB page has a template: randomterrain.com/atari-2600-memories-batari-basic-commands.html#dpc_harmony The bB page also has working example programs that you can look at: randomterrain.com/atari-2600-memories-batari-basic-commands.html#expro_dpc 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.