Previous Thread
Next Thread
Print Thread
Page 4 of 4 1 2 3 4
Joined: Jan 2021
Posts: 101
=
Senior Member
Offline
Senior Member
=
Joined: Jan 2021
Posts: 101
Is the chip (AY-3-8760?) inside the "Stunt Cycle" home console based on similar logic gate circuit or is it some kind of microcontroller?

https://handwiki.org/wiki/Software:Stunt_Cycle

I only find it mentioned here:
https://nerdstuffbycole.blogspot.com/2019/03/the-ay-3-8606-another-successfully.html

https://atariage.com/forums/topic/288619-tennis-a-pong-chip-port-to-the-intellivision/

I own the PAL version by Atari and a clone in a cartridge of Unimex Mark IX.

Last edited by =CO=Windler; 07/06/22 07:42 AM.
Joined: Feb 2014
Posts: 836
Likes: 39
G
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 836
Likes: 39
Yes, I think Evel's taken the day off, maybe it was Awful Knopfel...


====================================



Part of my debugging strategy is to use some printfs inside of a NETDEV_ANALOG_CALLBACK_MEMBER to see what's happening with the signals:


so I've got a NETLIST_ANALOG_OUTPUT which will call a NETDEV_ANALOG_CALLBACK_MEMBER:


inside stuntcyc_state I put:

Code
#define DEBUGNLAO(x,y) NETDEV_ANALOG_CALLBACK_MEMBER(update_##x) {printf("UPDATE " #x ": %f  "#x"= %f\n",time.as_double(),data); }

DEBUGNLAO(cyclereset,CYCLE_RESET)
DEBUGNLAO(cycleresetq,CYCLE_RESET_Q)
DEBUGNLAO(direction,DIRECTION)

#undef DEBUGNLAO



Then inside stuntcyc_state::stuntcyc(machine_config &config) you put:

Code
#define DEBUGNLAO(x,y) NETLIST_ANALOG_OUTPUT(config, "maincpu:"#x, 0).set_params(#y, FUNC(stuntcyc_state::update_##x));

DEBUGNLAO(cyclereset,CYCLE_RESET)
DEBUGNLAO(cycleresetq,CYCLE_RESET_Q)
DEBUGNLAO(direction,DIRECTION)


#undef DEBUGNLAO


You have to put a routine into two different locations in the code.

This way I can just copy and paste the same line DEBUGNLAO(cycleresetq,CYCLE_RESET_Q) and it will make the appropriate NETDEV_ANALOG_CALLBACK_MEMBER or NETLIST_ANALOG_OUTPUT.


so output looks like this:

UPDATE direction: 0.000000 direction= 0.100000
UPDATE cyclereset: 0.000000 cyclereset= 0.100000
UPDATE cycleresetq: 0.000000 cycleresetq= 0.100000
UPDATE cycleresetq: 0.000000 cycleresetq= 3.999999
UPDATE direction: 0.000000 direction= 3.999999




One thing that's interesting in the debugger, if you "gt 1" you can see the strip of screen that gets painted during the millisecond. It shouldn't be too hard to make it possible to step by less than a millisecond.

[Linked Image from i.imgur.com]

Joined: Feb 2014
Posts: 836
Likes: 39
G
Senior Member
OP Online Content
Senior Member
G
Joined: Feb 2014
Posts: 836
Likes: 39

Joined: May 2009
Posts: 2,045
Likes: 84
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,045
Likes: 84
Originally Posted by =CO=Windler
Is the chip (AY-3-8760?) inside the "Stunt Cycle" home console based on similar logic gate circuit or is it some kind of microcontroller?

It's at least pretty certain it's not a microcontroller - microcontrollers that could actually do TV-based graphics didn't exist back then. There's no telling if it's based on "similar logic gate circuits" or not. It's an ASIC, all of the one-off TV game systems of that era were. It would require someone decapping such a chip and actually tracing out the silicon to work out an equivalent schematic to know anything more than that.

Page 4 of 4 1 2 3 4

Link Copied to Clipboard
Who's Online Now
4 members (Pernod, mixmaster, 2 invisible), 22 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,090
Posts119,149
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com