6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 4:19 pm

All times are UTC




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: the KITTY Computer
PostPosted: Sun Nov 12, 2023 10:16 am 
Offline
User avatar

Joined: Fri Feb 17, 2023 11:59 pm
Posts: 163
Location: Lviv, Ukraine
Ah, a fellow mechanical keyboard enjoyer! Welcome! :)
Are those XDA caps? Those are my favorites, too. (Although I've been using Kailh Choc switches a lot recently.)

The build looks really nice! I love all-in-one systems.

_________________
/Andrew

deck65 - 6502 slab with screen and keyboard | ПК-88 - SBC based on KM1810VM88 (Ukrainian i8088 clone) | leo80 - simple Z80 SBC
nice65 - 6502 assembly linter | My parts, footprints & 3D models for KiCad/FreeCAD


Top
 Profile  
Reply with quote  
 Post subject: Re: the KITTY Computer
PostPosted: Sun Nov 12, 2023 2:44 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 565
Nice looking machine and keyboard.


Top
 Profile  
Reply with quote  
 Post subject: Re: the KITTY Computer
PostPosted: Mon Nov 13, 2023 10:39 am 
Offline

Joined: Sun Sep 17, 2023 10:23 am
Posts: 8
First of all, thanks everyone for the replies!

As for updates, I've designed and ordered a couple single IC test cartridges, since this is intended to be a cart based system after all. It will probably take a couple weeks for both them and the accompanying edge connectors to arrive.

Attachment:
File comment: Different Test Cartridges
carts.png
carts.png [ 171.57 KiB | Viewed 3026 times ]


I've also been considering some possible changes to the audio system. In particular, borrowing from a previous design of mine, which would be using a "wavetable" setup (big emphasis on those quotes), where each channel is assigned a wave defined by a single byte (so 8x1 resolution) that's held in a self-feeding shift-register clocked by the frequency generators. This would allow for a much greater variety in timbre compared to the current square wave PSG, 4 different types of pulse waves, and countless other funny shaped sounds. A much more unique and versatile sound system (I'm not sure if there's any historical soundchips that used this particular setup?), that as such, would be more appealing and interesting to write music for.

Though the above, of course, would come at a bigger IC count: 4 extra 74' chips.

Another possible change would be to replace the 82c54 that's used for note frequency generation with a Z80 CTC (Z84c30), this chip has worse frequency control, and would have to be run slightly out-of-spec, however, it also typically costs less than half of the 82c54 (if new) and is in stock more often. Considering the 82c54 is the most expensive chip in the design by far, I think this could be a worthwhile change to look into.

Finally, I'm going to be experimenting with using a transistor-based white noise generator to power the 4th channel. This is something I'll be testing using the current PCB hooked to a breaboard circuit. I'm very uncertain if that would even work (these types of circuits produce analog outputs, which would then be used to activate a CMOS binary input, very ugly), but it never hurts to test? The alternative would be to use a digital Linear-feedback shift register to generate the noise, but I'm not aware of a particularly simple and space efficient way to implement one using 74' chips. Or I could simply go the lazy route and just leave channel 4 as a bit-bang beeper, eh.

Quote:
Are those XDA caps? Those are my favorites, too.


hmm not sure about the exact profile of these, and if they are XDA or not, but either way I rather enjoy lower profile keys, in fact the ones I've used for this build are leftovers from my main daily driver keyboard.

Quote:
Is there a default 32K of ROM that is loaded if there is no cartridge?


At the moment, no. As I personally don't feel it would add much to this particularly architecture/design, and would come at the cost of more complex address decoding logic.

Quote:


Haha, well it should theoretically be able to do so. But first I'll have to finally get around to finally writing a memory monitor or fancier for the system
:p


Top
 Profile  
Reply with quote  
 Post subject: Re: the KITTY Computer
PostPosted: Mon Nov 13, 2023 11:00 am 
Offline

Joined: Fri Jul 09, 2021 10:12 pm
Posts: 741
smal wrote:
I've also been considering some possible changes to the audio system. In particular, borrowing from a previous design of mine, which would be using a "wavetable" setup (big emphasis on those quotes), where each channel is assigned a wave defined by a single byte (so 8x1 resolution) that's held in a self-feeding shift-register clocked by the frequency generators.

Any reason not to actually use EEPROM-based wave tables? It's something I was considering and might work well with the multiplexing.

Quote:
Quote:
Is there a default 32K of ROM that is loaded if there is no cartridge?


At the moment, no. As I personally don't feel it would add much to this particularly architecture/design, and would come at the cost of more complex address decoding logic.

Could you just pass the onboard ROM's chip select through the card and back, so that if there's a card present it gets pulled high?


Top
 Profile  
Reply with quote  
 Post subject: Re: the KITTY Computer
PostPosted: Mon Nov 13, 2023 1:46 pm 
Offline

Joined: Sun Sep 17, 2023 10:23 am
Posts: 8
gfoot wrote:
smal wrote:
I've also been considering some possible changes to the audio system. In particular, borrowing from a previous design of mine, which would be using a "wavetable" setup (big emphasis on those quotes), where each channel is assigned a wave defined by a single byte (so 8x1 resolution) that's held in a self-feeding shift-register clocked by the frequency generators.

Any reason not to actually use EEPROM-based wave tables? It's something I was considering and might work well with the multiplexing.


Interesting option. Sounds quite similar to the Namco WSG, which they used in their arcade games (here's a very good video that details exactly how that hardware works: https://www.youtube.com/watch?v=csFwHrQEdbg)

I thought of a potential way to implement something like that using the same number of ICs as my last proposal (I apologize for the crummy hand-drawn diagram):

Attachment:
File comment: Diagram for ROM based wavetable synth.
(82c54/frequency gen chip not shown)

wavetable.jpg
wavetable.jpg [ 494.46 KiB | Viewed 3006 times ]

In this case I'd remove stereo from the design and instead use one of the '670 chips to select the wavetable to use. Both `670 chips would hook-up directly to the ROM, with the 16 volume values being all precalculated in the ROM. Meanwhile `4050 chips (dual 4bit counters) are clocked by their respective oscillators to get a 4bit index into the wavetable.

To improve sound quality one could also place a D-type latch to buffer the ROM output, but I don't feel that would be necessary.

Edit: with this setup it might be possible to clock the inputs of the ch4 counter by combining the values from the 3 oscillators, to get a somewhat "random" percussive output.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: