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: 1055
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: 634
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: 447
...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: 1989
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: 478
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: 1055
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: 11108
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: 1055
Stopping the CPU via a very long dummy DMA I guess?
2016-06-14 06:32
JackAsser

Registered: Jun 2002
Posts: 1989
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: 11108
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
chesser/Nigaz
Apollyon/ALD
MCM/ONSLAUGHT
Freeze/Blazon
Linus/MSL
Guests online: 127
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

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