Jump to content
IGNORED

Difficulty running DPC+ example and other programs


Tyler Frisbee

Recommended Posts

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

post-39533-0-93112900-1449964743_thumb.png

Link to comment
Share on other sites

:o 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!

Link to comment
Share on other sites

  • 1 year later...

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

Link to comment
Share on other sites

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

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