6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Jun 23, 2024 7:27 pm

All times are UTC




Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Contest!!!!
PostPosted: Wed Jan 15, 2020 6:23 pm 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
I'm inclined to prefer some form of judging when it comes to prize-giving. In this case it has less to do with whether a prize is given or not, and more to do with who gets first pick, so I think the judges are free to exercise their common sense without people crying foul. BigEd has put forward one reasonable set of criteria; other judges might have different, complementary criteria or just "wing it".

In any case, I've already started sketching something out…


Top
 Profile  
Reply with quote  
 Post subject: The Rules....
PostPosted: Wed Jan 15, 2020 9:04 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1003
Location: Canada
Okay, so here it is:


I want to keep this as simple as possible and not put too many restrictions in the way. Ed and I will not be judges. Rather we will adjudicate.

Here are the rules:

1) The concept for the contest is as described before - Think: You are a late 1970's / early1980's engineer and you have to build the latest thingamajig, but it has to be built down to a price to give the most bang for the buck. KISS (Keep It Simple and Smart)

2) The 6507 must be the main processor. You cannot add any other generally programmable processing devices.

3) You can add logic or a GAL as required to make your glue logic.

4) You must use the 6532.

5) Since not all people are equipped to deal with UV-erasable EPROMS, you may substitute another kind of ROM for the 2716.

6) You can add RAM or ROM as required within the 8KB limit of the 6507.

7) You can add a maximum of two (2) simple I/O devices to the CPU bus over and above the 6532 such as a UART, ADC, DAC, LCD display, HEX keypad controller, HEX display driver, data latch, input buffer, shift register, etc. If in doubt, ask.

8) You can hang anything you want off the 6532 as long it is under the full control of the 6507.

9) You must start a project thread on 6502.org beginning with an outline of what you intend to do and relate your progress. You are encouraged to solicit input from forum members.

10) There will be 2 milestones for completion at 6 months and 12 months. This schedule in conjunction with rule 11 will determine prize distribution. Those finished within 6 months will have first choice. Those taking between 6 and 12 months will get the next choice. Those taking longer than 12 months will be deemed to have not completed, however as long as a log thread was started and contributed to regularly, will still receive a prize from what remains.

11) Ed’s BUGS self assessment (with 1 addition) will be used to determine who chooses first at each completion milestone. Ties will be resolved by who finished first. Read the self-assessment carefully so you know what is encouraged. You score yourself out of 10 on each point.

The BUGS self assessment:
- was it fun
- did you learn something
- did it work
- did you finish (maximum score 9 out of 10)
- did you keep a progress thread on this forum
- did you publish your sources (with an open source license for full marks)
- did you accept any input from collaborators or commenters (the more the merrier)
- extra points for being Educational, Surprising, Amusing or Interesting
- have you published a blog, featured on Hackaday, been discussed on other forums
- have you ideas for extensions or follow-on projects
- extra points for keeping the hardware as simple as possible

That’s just about it.

As for prizes, I will try to divide what I have more or less evenly into 6 lots. There will be a lot of stuff in each prize lot. I will pay the shipping on the prizes. Each lot will contain items from, but not limited to, the following list:

a) PICAXE MCUs
b) Various sensor and actuator modules
c) NMOS 6502s
d) Left over PCBs from some of my working projects (in the case of SBCs, with some hard to find components tested to work with them like UARTs and programmed GALs).
e) Quantities of LEDs
f) Small DC motors
g) Nokia style LCD displays
h) 4 digit 8-segment LED displays
i) Atmel MCUs
j) PICAXE educational kits
k) MCU development boards and proto-boards
l) Various chips (divers, timers, opto-isolators, Ethernet controllers, etc..)
m) Power MOSFETS
n) mini-solderless breadboards and jumper kits (possibly bigger ones too)
n) Whatever other useful stuff I can locate from my defunct store inventory.

As long as no one objects, we are now open for entries. Limit is 6 entries - first come first served. All you have to do to enter is declare it in this thread and PM me to tell me your location so I can determine shipping costs of the components and let you know.

_________________
Bill


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Wed Jan 15, 2020 9:13 pm 
Offline
User avatar

Joined: Mon May 12, 2014 6:18 pm
Posts: 365
I would like to participate!


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Wed Jan 15, 2020 9:32 pm 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
Okay, count me in - with shipping to Finland.


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Wed Jan 15, 2020 10:16 pm 
Offline

Joined: Thu Mar 10, 2016 4:33 am
Posts: 170
I’d like to enter, but I’d also like to buy my own parts (and I could provide some extras for other entrants too if anyone is interested?). Right from the start I’d like to bend the rules a little and use a 6504 rather than the provided 6507, the IRQ pin is more useful to me than the RDY pin, that’s the only difference, so I don’t think it changes much. Would that be ok?


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Wed Jan 15, 2020 10:32 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10834
Location: England
(Great to see this final format and some entrants already!)


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Wed Jan 15, 2020 10:41 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1003
Location: Canada
jds wrote:
Right from the start I’d like to bend the rules a little and use a 6504 rather than the provided 6507, the IRQ pin is more useful to me than the RDY pin, that’s the only difference, so I don’t think it changes much. Would that be ok?


I'm okay with bending the rules as long as Ed and the contestants before you are chill with it. What do you say guys?

_________________
Bill


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Wed Jan 15, 2020 10:48 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10834
Location: England
I'm OK with the substitution. But I'll be intrigued to see what people manage without IRQ, those who go that way. And whether there are interesting new ways of using RDY.


Top
 Profile  
Reply with quote  
 Post subject: Re: The Rules....
PostPosted: Wed Jan 15, 2020 11:27 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8460
Location: Southern California
BillO wrote:
You are a late 1970's / early1980's engineer and you have to build the latest thingamajig, but it has to be built down to a price to give the most bang for the buck. KISS (Keep It Simple and Smart)

or sometimes even management knows it's not ideal except that for any of various reasons, the parts they want you to use are nearly free.

Quote:
You can hang anything you want off the 6532 as long it is under the full control of the 6507.

One I/O IC like this can host an awful lot of things at the same time. The 6502 primer, particularly section 14 on I/O ICs at http://wilsonminesco.com/6502primer/IO_ICs.html and section 22, the circuit potpourri page at http://wilsonminesco.com/6502primer/potpourri.html .

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: The Rules....
PostPosted: Wed Jan 15, 2020 11:34 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1003
Location: Canada
GARTHWILSON wrote:
or sometimes even management knows it's not ideal except that for any of various reasons, the parts they want you to use are nearly free.
Exactly. Been there, and done that, BTW - from both sides. Reality is.

_________________
Bill


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Thu Jan 16, 2020 12:12 am 
Offline

Joined: Tue Oct 02, 2018 4:22 am
Posts: 48
I haven't thought of a world-changing idea to enter yet, but I have a made a lifelong hobby out of interpreting rules ...

Quote:
6) You can add RAM or ROM as required within the 8KB limit of the 6507.

7) You can add a maximum of two (2) simple I/O devices to the CPU bus over and above the 6532 such as a UART, ADC, DAC, LCD display, HEX keypad controller, HEX display driver, data latch, input buffer, shift register, etc. If in doubt, ask.

8 ) You can hang anything you want off the 6532 as long it is under the full control of the 6507.


Does Rule 8 over ride the other rules? As Garth pointed out, you can hang quite a few peripherals off of the IO ports, including things mentioned in rule 7. Does this override apply to other rules as well?

Depending how rule 8 is interpreted, someone could hang a megabyte I2C ROM (does 8 override 6?) for massive ROM storage.

I don't think that would be in the spirit of the competition but it could be within the letter if rule 8 is allowing more than 2 devices from rule 7 to be added. It's easy to argue rule 8 allows more than the other rules allow as well, as long as the RIOT is used to interface.

Lawyering done, I'll go back to thinking of something with 8k total memory!


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Thu Jan 16, 2020 1:36 am 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1003
Location: Canada
thedrip wrote:
Does Rule 8 over ride the other rules? As Garth pointed out, you can hang quite a few peripherals off of the IO ports, including things mentioned in rule 7. Does this override apply to other rules as well?

No override. As long as you hang it on the 6532 and it has no control of its own, you can go for it. The 6507 still needs to be the boss. I think Garth (but I could be wrong) was stating that you can do a lot with 16 bits of I/O without having to resort to excess.

thedrip wrote:
Depending how rule 8 is interpreted, someone could hang a megabyte I2C ROM (does 8 override 6?) for massive ROM storage.
Sure, if it suits your needs.

thedrip wrote:
I don't think that would be in the spirit of the competition
Agreed, so you might have to dock yourself points on that account.

thedrip wrote:
... but it could be within the letter if rule 8 is allowing more than 2 devices from rule 7 to be added. It's easy to argue rule 8 allows more than the other rules allow as well, as long as the RIOT is used to interface.
It is in the letter of the rules. Rule 7 concerns itself with direct attachment to the CPU bus. You might find that trying to add all sorts of memory, or other complex yet passive things beyond what is practical to the 6532 rapidly reaches a point of diminishing returns.

thedrip wrote:
Lawyering done, I'll go back to thinking of something with 8k total memory!
We'd welcome your participation.

_________________
Bill


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Thu Jan 16, 2020 2:06 am 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
I think I have a way of using RDY plus some glue logic to implement something rather like WDC's WAI instruction. I might even get a direct bitmask of pending events out of it, saving me from polling devices unnecessarily. In some ways having /IRQ would still be useful, but for what I have in mind, polling is okay.


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Thu Jan 16, 2020 3:37 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8460
Location: Southern California
All the devices listed in #7, plus much, much more, can go through a single 6532, although all synchronous-serial interfaces would have to be bit-banged. (The 6522's shift register can directly interface to chains of 74xx595's, 74xx165's, and similar, for hundreds or even thousands of I/O bits.)

Quote:
someone could hang a megabyte I2C ROM (does 8 override 6?) for massive ROM storage.

Do you know of any? I think the biggest I²C EEPROM I've seen was 128KB, or 1Mb (with a lower-case 'b'; that's one megabit, not 1 megabyte.) SPI ones go much bigger, but I suppose the logic behind keeping the I²C ones small is that I²C is too slow to be transferring large amounts of data on. Regardless, since it's not a parallel memory on the processor's own bus, the only way it could execute code in serial EEPROM or flash is to have code that would download it into RAM before executing it (which I don't see any problem with, any violation of the rules). This could be done kind of like disc-swapping when there's not enough memory in the computer. Sure it slows things down; but the rules do not impose any speed requirements. It's only if the application needs a certain performance like it might for audio or moving video.

A way to have something like IRQ, although it would be very slow to respond, would be that one of the 6532 bits would serve as an IRQ input from other outboard ICs whether they're on SPI or whatever, and the program checks that bit often. If quick response is needed and the other jobs are done, the program could enter a loop that just keeps checking the bit chosen to be an IRQ input and branches out when the bit goes down.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: Contest!!!!
PostPosted: Thu Jan 16, 2020 1:46 pm 
Offline

Joined: Tue Jan 23, 2018 2:55 pm
Posts: 43
Reset vector for all 650x is the same - FFFx, but high address lines are not connected, so one may read it from the outside as 1FFx. Using reset as interrupt is quite a nice idea, provided that the whole functionality (after init) may be implemented as an ISR - a good option for a clock, timer/whatever timer-only based application.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 36 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: