Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > FIFOgfx (with live C64 debugging)
2016-06-10 15:58
MagerValp

Registered: Dec 2001
Posts: 1078
FIFOgfx (with live C64 debugging)

A friend of mine built his own 6502 computer and he talked me into making a graphics card for it. I've connected my prototype via a cartridge to the C64, and a side effect of how I'm interfacing it means that the C64's memory is mirrored into a Raspberry Pi, making it possible to inspect its memory live. I realized that this might potentially be even more interesting than the main project, but I haven't had time to fully explore it as I'm focusing on finishing the gfxcore first. I've started releasing my project files on GitHub if anyone wants to play along:

https://github.com/MagerValp/fifogfx
 
... 19 posts hidden. Click here to view all posts....
 
2016-06-12 05:51
Martin Piper

Registered: Nov 2007
Posts: 722
Nice. :) I was using similar address bus snooping to get a TTL 6502 to drive LCD screens. These screens would of course have their own internal buffers for the draw commands.
http://www.wellytop.com/Fnagaton/TwoScreens.jpg
2016-06-12 06:01
Flavioweb

Registered: Nov 2011
Posts: 463
...of course maybe i miss something, but since there is a Z80 cpu cart for c64, isn't possible to build an hw with is own 6510 that is fully monitorable?
2016-06-12 06:45
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: ...of course maybe i miss something, but since there is a Z80 cpu cart for c64, isn't possible to build an hw with is own 6510 that is fully monitorable?

It's called Chameleon
2016-06-13 17:21
oziphantom

Registered: Oct 2014
Posts: 490
It would be interesting if one of these could be made to work in the 64. http://stardot.org.uk/forums/viewtopic.php?f=44&t=9655 They have them working in BBCs and Atoms which are VIC less, so not a good test.
2016-06-13 18:03
MagerValp

Registered: Dec 2001
Posts: 1078
Neat project! Stopping or single stepping is not an option with 6510 and VIC-II, but you could do tracing and memory inspection - sort of a mini logic analyzer.
2016-06-13 18:43
chatGPZ

Registered: Dec 2001
Posts: 11386
well, you could even do stop or stepping.... with the kludge that the VIC would still "run" anyway. i *think* the PDS could actually do this.
2016-06-14 06:14
MagerValp

Registered: Dec 2001
Posts: 1078
Stopping the CPU via a very long dummy DMA I guess?
2016-06-14 06:32
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: Stopping the CPU via a very long dummy DMA I guess?

Yes, "just" strobe the RDY-line
2016-06-14 06:39
doynax
Account closed

Registered: Oct 2004
Posts: 212
Quoting JackAsser
Yes, "just" strobe the RDY-line
Not a lot of use in a demo environment without restoring the VIC/CIA timer states afterwards though, otherwise the first breakpoint set in anything timing sensitive would be liable to desynchronize the system and you might as well capture and step through a passive trace instead.
Taking care to resume execution on a multiple of 63*312 cycles later would be a start at least.
2016-06-14 14:12
chatGPZ

Registered: Dec 2001
Posts: 11386
for demostuff all you need is inc $d020 anyway :)
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Guests online: 101
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.04 sec.