Search found 57 matches

by Tom
Wed Jun 22, 2016 1:35 pm
Forum: Hardware and Tech
Topic: VIC chip undocumented empirical "features"
Replies: 11
Views: 1257

Re: VIC chip undocumented empirical "features"

Do you remember when I said (and proved with a scope capture) that the regular ripples in the luma signal of the 6560 begins 2 characters BEFORE the text/graphic area and ends 2 characters before the right border ? Haha, sometimes it takes a while for the penny to drop. To be explicit, would you ag...
by Tom
Wed Jun 22, 2016 8:01 am
Forum: Hardware and Tech
Topic: VIC chip undocumented empirical "features"
Replies: 11
Views: 1257

Re: VIC chip undocumented empirical "features"

Actually, I've been attempting to make sense of that document and it appears to be contradictory. It states: First the VIC reads the screen memory and the color memory. This happens after CPU cycle (XPOS + 2*X) + 3 of each rasterline that covers the char. After the following cycle (XPOS + 2*X) + 4 t...
by Tom
Mon Jun 20, 2016 8:32 pm
Forum: Emulation and Cross Development
Topic: Clock Signal: a Vic-20 emulator for macOS and Linux
Replies: 64
Views: 36346

Re: A heavyweight Vic-20 emulator with twists

@Tom If that is so then I think what you should do is a plug-in to XVIC rather than create an all-new emulator. I think that what I want from an emulator and what XVic supplies are somewhat divergent. I don't think negatively is warranted because it's an excellent piece of software and the work of ...
by Tom
Mon Jun 20, 2016 9:57 am
Forum: Emulation and Cross Development
Topic: 6502 emu help needed!
Replies: 30
Views: 8271

Re: 6502 emu help needed!

btw, VICE also uses this "run until something interesting happens" approach for the CIA and VIA cores. and its exactly what makes this code so terrible and almost unmaintainable :( I used it for a cycle-perfect emulation of a non-Commodore 6502 machine back in the early-'00s; it was defin...
by Tom
Mon Jun 20, 2016 7:31 am
Forum: Emulation and Cross Development
Topic: Clock Signal: a Vic-20 emulator for macOS and Linux
Replies: 64
Views: 36346

Re: A heavyweight Vic-20 emulator with twists

@Tom it feels to me you're more creating a sort of CRT monitor emulator than a VIC-20 emulator. At that point, when you start considering phosphor persistence & al, I guess you should choose whether you're emulating a Commodore 1702, A Sony trinitron TV studio monitor or a junk Magnavox TV set ...
by Tom
Mon Jun 20, 2016 7:16 am
Forum: Emulation and Cross Development
Topic: 6502 emu help needed!
Replies: 30
Views: 8271

Re: 6502 emu help needed!

The good news for everybody except me is that I lost my originally typed answer; I appreciate I have some problems with politeness at the best of times but please forgive me if this retelling is unusually brusque. The difference in approaches is between: "Hey, VIAs and VIC, what's the earliest ...
by Tom
Fri Jun 17, 2016 4:46 pm
Forum: Emulation and Cross Development
Topic: 6502 emu help needed!
Replies: 30
Views: 8271

Re: 6502 emu help needed!

When you can tell me what this code snippet is supposed to do, we can talk further. :mrgreen: I can only assume you haven't read my suggestion and are replying dogmatically. Are you capable of explaining in what scenario a VIA can't tell a priori you how many cycles until its interrupt status will ...
by Tom
Fri Jun 17, 2016 10:44 am
Forum: Emulation and Cross Development
Topic: 6502 emu help needed!
Replies: 30
Views: 8271

Re: 6502 emu help needed!

For your other assumptions about the 'necessary' accuracy: you'll have to run CPU, VIC and both VIAs (especially their timers) in single-cycle lock-step. Again, I'm not persuaded by this. I think you'd be fine with: while (haven't yet run for long enough to complete frame) { let timeUntilVIA1Fires ...
by Tom
Fri Jun 17, 2016 10:09 am
Forum: Emulation and Cross Development
Topic: Clock Signal: a Vic-20 emulator for macOS and Linux
Replies: 64
Views: 36346

Re: A heavyweight Vic-20 emulator with twists

btw, i'd be happy to assist in supporting your emulator in the automatic testsuite that i am working on at the moment (mostly for VICE)... (its fairly easy, only needs a couple simple features in the emu) - let me know if you are interested :) Yes please! I love test suites. Now that the machine is...
by Tom
Fri Jun 17, 2016 8:57 am
Forum: Emulation and Cross Development
Topic: Clock Signal: a Vic-20 emulator for macOS and Linux
Replies: 64
Views: 36346

Re: A heavyweight Vic-20 emulator with twists

Underlying reasoning? I'm writing an emulator because writing emulators is fun. I want to be explicit about this: I have no delusions. There is no objective need for a new emulator. Probably almost nobody will ever use my emulator. VICE is a very good emulator. People should use VICE. However, mine ...
by Tom
Thu Jun 16, 2016 8:08 pm
Forum: Emulation and Cross Development
Topic: Clock Signal: a Vic-20 emulator for macOS and Linux
Replies: 64
Views: 36346

Re: A heavyweight Vic-20 emulator with twists

Attached, since I seem to be talking about it a lot without offering any substance, is the mess I currently have. To reiterate: the 6502 should be perfect; the 6560 has a bunch of issues; the 6522 has about a million issues; there is no joystick interface; it's NTSC only; it also emulates the base m...
by Tom
Thu Jun 16, 2016 2:26 pm
Forum: Emulation and Cross Development
Topic: 6502 emu help needed!
Replies: 30
Views: 8271

Re: 6502 emu help needed!

I'm largely talking to myself now and have no idea of the etiquette here of replying to yourself but I've just found Simon Owen's VIC-20 Emulator for SAM Coupe and Spectrum , which implements a Vic-20 emulator in z80 assembly language for the ZX Spectrum (where it runs at about 1/10th Vic speed) and...
by Tom
Wed Jun 15, 2016 8:12 am
Forum: Emulation and Cross Development
Topic: Clock Signal: a Vic-20 emulator for macOS and Linux
Replies: 64
Views: 36346

Re: A heavyweight Vic-20 emulator with twists

Me and v1and3 noticed an asymmetric waveform clipping starting to occur when the volume is above 8. I found an earlier post on that; it sounded like, depending on your Vic, you'll probably get clipping at the top that clamps to somewhere between the equivalent of all four channels outputting a 1 at...
by Tom
Wed Jun 15, 2016 7:39 am
Forum: Emulation and Cross Development
Topic: Clock Signal: a Vic-20 emulator for macOS and Linux
Replies: 64
Views: 36346

Re: A heavyweight Vic-20 emulator with twists

Did you get any sort of digital read-out other than the graphic? What numbers exactly would you have liked to see? I guess it would now be more appropriate to follow up on that elsewhere... (small aside: I added audio to the emulator last night; based on the latest documentation that it's produced ...
by Tom
Tue Jun 14, 2016 12:21 pm
Forum: Hardware and Tech
Topic: 6560/6561 related oscilloscope and vectorscope images
Replies: 85
Views: 29412

Re: 6560/6561 related oscilloscope and vectorscope images

Carrying over from the previous thread, from eyeballing the previous graph in which the VIC's approximation of a sine curve for the colour subcarrier was measured, I got the individual vertical bars as being placed and sized as: Centres: 63, 63, 60.5, 58.5, 57.5, 57, 56.5, 56, 54.5, 53, 51, 48.5, 44...