Jump to content
IGNORED

Just testing: Karnov 7800


saxmeister

Recommended Posts

I always loved the arcade game Karnov and felt the 7800 could do it justice. So, just for giggles I started throwing together some graphics and code to see what I could come up with.

 

I don't know if this will go anywhere as I am still learning 7800 Basic and the intricacies of the 7800, but it started out better than expected.

 

I can already see some major improvements that I could make, especially using 320A mode  for the text - especially where the screen splits at the bottom of the main playfield. The text and the icons could be monochromatic high-res icons and would work much better.

 

karnov_title.thumb.png.ae653bb637f47770f7f7848ca89ab56d.pngkarnov_stage01.thumb.png.ebd5aae992ee43a9e0658404ec057c9b.png

Edited by saxmeister
Replaced title graphic
  • Like 31
Link to comment
Share on other sites

Revisions to the title screen for now.

 

- Split the screen into 160A and 320A

- Defined the font and made the letters and alphabet look like the arcade font

- Tweaked palette for the dragon fire

 

karnov_title_rev1.thumb.png.826cf7bde8be7fcb761f2dc2abd31a51.png

 

I'm still not sure about this title. The "KARNOV" letters are marbled like the arcade version, but at this lower resolution it isn't as clear. I'm thinking of removing the dithering for this presentation.

 

Also, I'm really digging this blue color palette for the dragons, but that was "borrowed" from the NES version and the arcade version is more of a blue-grey/gray color.

 

I probably will take your advice, @Geminitronic, and may not implement scrolling just yet. I'm also thinking of sound chip options for this since I could target TIA, POKEY, or even YM2151. The YM2151 would be closest to the arcade hardware (YM3526) but I'm worried about CPU cycles since the 7800 doesn't have a sound co-processor.

 

Edited by saxmeister
Added link to responder
  • Like 4
Link to comment
Share on other sites

I started working on the code for this and realized just how much variation was in this including the levels and monsters. That is a bit much for me to bite off for now, so I may continue work on other items until I feel confident enough to get this going properly.

Link to comment
Share on other sites

Very nice start! :thumbsup:

 

On 1/21/2022 at 11:09 AM, saxmeister said:

I probably will take your advice, @Geminitronic, and may not implement scrolling just yet. I'm also thinking of sound chip options for this since I could target TIA, POKEY, or even YM2151. The YM2151 would be closest to the arcade hardware (YM3526) but I'm worried about CPU cycles since the 7800 doesn't have a sound co-processor.

We kinda worried about that prior to getting trackers running, but honestly the cycles involved isn't a major concern. In this demo video, the blue flashing represents the amount of CPU used by the tracker. (I turn the background blue when the tracker driver starts, and black after it's done).

 

 

You can see it's a rather small proportion of a frame. The small bit of blue you do see flashes from frame to frame, since CPU isn't used by the driver between notes.

 

IMO the bigger concern is the lack of YM availability for real carts or non-DF flash carts, which divides your potential audience greatly. There are some solutions for this which may be on the horizon - Rafal's passthru cart, or batari's Hokey with YM emulation - but none of those are guaranteed, nor are they imminent. Personally, I try to develop around tech that's available now or really soon, to avoid my code getting stuck on someone else's timetable. (...he said with some irony, after just showing off his tracker written for the XM)

  • Like 7
Link to comment
Share on other sites

I think we all understood from the title that your just seeing what can be done so don’t feel discouraged or obligated to do any more.  I think the most exciting thing was seeing the potential of a talented programmer being showed off!  Can’t wait to see what else you do whether it’s finishing karnov  or something completely different!

  • Like 2
Link to comment
Share on other sites

6 hours ago, RevEng said:

Very nice start! :thumbsup:

 

We kinda worried about that prior to getting trackers running, but honestly the cycles involved isn't a major concern. In this demo video, the blue flashing represents the amount of CPU used by the tracker. (I turn the background blue when the tracker driver starts, and black after it's done).

 

 

You can see it's a rather small proportion of a frame. The small bit of blue you do see flashes from frame to frame, since CPU isn't used by the driver between notes.

 

IMO the bigger concern is the lack of YM availability for real carts or non-DF flash carts, which divides your potential audience greatly. There are some solutions for this which may be on the horizon - Rafal's passthru cart, or batari's Hokey with YM emulation - but none of those are guaranteed, nor are they imminent. Personally, I try to develop around tech that's available now or really soon, to avoid my code getting stuck on someone else's timetable. (...he said with some irony, after just showing off his tracker written for the XM)

I had seen this before but love to see it more. That is great work! Yes, the lack of availability is a concern. I really wish there was a preexisting way to add the YM to carts now. For many arcade games the YM is the closest, though I love the POKEY.

  • Like 1
Link to comment
Share on other sites

One thing I discovered is something that was talked about in other threads on this forum - sometimes order is everything.

 

When I was splitting the modes on screen I kept having the sky line go one scanline beneath the defined area. This was the code:

code_wrong.png.7fbe89f1e900796919b6081bba97a4cb.png

And the result:

scanline_wrong.png.632d9a2147f4c8f2261821b07a06bb58.png

 

I switched the order and set the background color first THEN set the screen mode with this code:

code_right.png.d583cf42667195973a8ac5f9119a8c96.png

And the result:

scanline_correct.png.008dfcbbd89bf9defc537403754fbcfb.png

 

Just in case anyone else is running into a similar problem.

  • Like 6
Link to comment
Share on other sites

On 1/21/2022 at 9:09 AM, saxmeister said:

Revisions to the title screen for now.

 

- Split the screen into 160A and 320A

- Defined the font and made the letters and alphabet look like the arcade font

- Tweaked palette for the dragon fire

 

karnov_title_rev1.thumb.png.826cf7bde8be7fcb761f2dc2abd31a51.png

 

I'm still not sure about this title. The "KARNOV" letters are marbled like the arcade version, but at this lower resolution it isn't as clear. I'm thinking of removing the dithering for this presentation.

 

Also, I'm really digging this blue color palette for the dragons, but that was "borrowed" from the NES version and the arcade version is more of a blue-grey/gray color.

 

I probably will take your advice, @Geminitronic, and may not implement scrolling just yet. I'm also thinking of sound chip options for this since I could target TIA, POKEY, or even YM2151. The YM2151 would be closest to the arcade hardware (YM3526) but I'm worried about CPU cycles since the 7800 doesn't have a sound co-processor.

 

Out of curiosity, have you tested doing the whole title screen as 320B (which I thought was the higher color mode) or is there an issue in doing so? I thought that you'd be able to get some more color out of it with something like that, but I'm probably misremembering or just not sure what I'm talking about with 7800 modes :P

 

While I haven't been able to wrap my head around coding, I've found the idea of combining resolutions to be a fascinating one. 

  • Like 1
Link to comment
Share on other sites

Very cool to see, regardless if you decide to go through with it or not.  Karnov is one of those games that stuck with me over the decades. Just unforgettable, surreal enemies & stages, it was quite a trip & really captured my imagination as a child lol My arcade had it & we rented it couple times for the NES. I have owned the NES cart in my collection for ages, but just could not beat that final boss for the life of me

Edited by Stevaside
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...