Jump to content
Cybearg

Modifying Score Display?

Recommended Posts

I just remembered that I tried to add the extra letters in a dpc+ project a couple years ago, but the score graphics ends up in bank 1, that only has a couple bytes free, so I could only fit one letter 😁 maybe it has shrunk by now but I don't think so.

Share this post


Link to post
Share on other sites

For the program I'm working on right now, I realized that I don't really need the score, so I'm just drawing the letters using 0 through 9 with the score editor. Seems like an easier solution.

Share this post


Link to post
Share on other sites
1 hour ago, Lillapojkenpåön said:

I just remembered that I tried to add the extra letters in a dpc+ project a couple years ago, but the score graphics ends up in bank 1, that only has a couple bytes free, so I could only fit one letter 😁 maybe it has shrunk by now but I don't think so.

I haven't looked at this in six years, but the way you described the problem makes me think you didn't replace the "DPCplus_kernel.asm" file with the one in my zip file, or maybe you didn't use the switches. Doing so you should be able to use the extra digits without any space penalties. I carved a lot of bytes out of the DPC+ kernel and that is the one in the zip file.

  • Like 1

Share this post


Link to post
Share on other sites

Nope, I tried to do it like it's done in the standard kernel, but with reveng's latest bugfixed dpc+ distribution, if I would need to do it now I would try to put a gosub to another bank in bB

 

   vblank

   gosub _vblank bank5

 

 and comment the vblank assembly in the kernel and put it in bank5 as inline assembly to get all the letters to fit in bank 1, but maybe there's more that needs to be done?

Edited by Lillapojkenpåön

Share this post


Link to post
Share on other sites

From your response I'm still not sure if you are swapping files or not, but basically you do need to replace both "DPCplus_kernel.asm" and "score_graphics.asm" with the versions that I put in post 96 otherwise it won't work. The instructions for usage are in post 96 as well as post 97.

Share this post


Link to post
Share on other sites
2 hours ago, Omegamatrix said:

From your response I'm still not sure if you are swapping files or not, but basically you do need to replace both "DPCplus_kernel.asm" and "score_graphics.asm" with the versions that I put in post 96 otherwise it won't work. The instructions for usage are in post 96 as well as post 97.

 

I don't know about Lillapojkenpåön, but I did that and A through F were displayed in the score (using bB.1.1d.reveng41), but since I couldn't edit the extra characters using VbB, I put the old files back and now I'm just editing 0 through 9. I'll use 0 as a blank space, 1 as a B, 3 as a G, 4 as a C, and so on. I'll have enough characters to make BG CLR, FG CLR, and SLOW.

Edited by Random Terrain

Share this post


Link to post
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.

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