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 > CSDb Entries > Event id #2391 : The 2015 REU Compo
2015-07-25 13:54
taper

Registered: Dec 2001
Posts: 119
Event id #2391 : The 2015 REU Compo

Welcome to the 2015 REU Compo --- Hosted by LFT, Ruk and Taper!

See the event-page on: The 2015 REU Compo

Your mission is to create the most awesome one-file demo that runs on a standard C64 with a 512 kB REU and no disk drive.

Background
==========

The Commodore RAM Expansion Unit (REU) is a cartridge that provides secondary storage to the C64. It was introduced at CES in 1985. The memory in the REU cannot be accessed directly from the CPU (hence
"secondary"). Instead, the CPU must instruct the REU to transfer a given amount of data to or from the cartridge. The REU then takes over the bus, stalling the CPU, and transfers one byte per cycle.

This is basically all there is to it. Apart from the extra storage, the REU does not make the C64 faster or more powerful---although see below for some intriguing possibilities.

The largest REU available from Commodore (the 1750) was equipped with 512 kB of RAM. Nowadays, it is possible to emulate REUs with as much as 16 MB, e.g. using VICE or the 1541 Ultimate. Even though you can only use 512 kB in this competition, there should be no problems using
the RAM expansion features in the 1541U/1541U-II, Chameleon64 or any other device fully compatible with the Commodore 1750 REU.

Rules
=====

1. Your entry must be in .PRG format with a BASIC header. The file must load to address $801, and end before it reaches the I/O area at $d000. The gives a maximum file size of 51201 bytes.

2. You may assume that a REU of at least 512 kB is available.

3. Your entry must work with a larger REU (i.e. you cannot assume that the upper address bits are ignored). You may not use the extra RAM available in such configurations.

4. You cannot make any assumptions about the initial contents of REU memory.

5. Your entry must work on a real C64 with a real 512 kB REU from Commodore. Please keep in mind that there could still be bugs in the emulators.

6. Deadline is set to 2015-12-31 at 23:59 in a time zone of your choice. Your contribution needs to be mailed to reu@wuff.se to be accepted. You are free to create a CSDb entry for your contribution, else we will do it for you.

7. Immediately following the deadline, voting will take place on CSDb during a period of two weeks. Anonymous votes will be counted. We allow self-voting unless you have multiple personalities.

Suggestions
===========

For your inspiration, here are some ways in which a C64 demo might benefit from an REU:

Obviously, the extra RAM is useful. For instance, the demo might pre-compute large amounts of sprite graphics, and then quickly retrieve a subset of the data just before it's needed.

The fast transfer rate could be used to speed up scrolling operations: You can copy a large bitmap from the C64 to the REU, and then back again at a slightly different address.

Last but not least, the REU has a mode where every byte in a transfer gets written to the same destination address. This can be used to display graphics using the idle byte, for instance. The target address
could also be an I/O register, and this might enable some new VIC tricks.

Technical information
=====================

Please refer to the following documents for details about the REU programming interface:

http://www.zimmers.net/anonftp/pub/cbm/documents/chipdata/progr..

http://codebase64.org/doku.php?id=base:reu_registers

Happy hacking!

/LFT, Ruk & Taper
 
... 70 posts hidden. Click here to view all posts....
 
2015-10-06 20:30
Dane
Account closed

Registered: May 2002
Posts: 421
Current state: a few preview parts, no gfx or art direction, no soundtrack. Some motivation would be nice. :)
2015-10-06 21:05
Stinsen

Registered: Feb 2012
Posts: 73
Quote: Current state: a few preview parts, no gfx or art direction, no soundtrack. Some motivation would be nice. :)

Dane? No soundtrack? My eyes must be playing me a joke. :D
2015-10-06 21:45
Dane
Account closed

Registered: May 2002
Posts: 421
It's only October!
2015-10-13 11:04
lft

Registered: Jul 2007
Posts: 369
Quoting Shadow
I did not quite get from the rules if entries were to be mailed and then released by the organizer after dec 31, or if we can mail them but also add them to CSDb right away?


Official statement from the organisers: Yes, it is OK to publish and add a release to CSDb before the deadline.

If you publish now, but wish to compete with a different version that you mail to us later, it might be a good idea to clarify this in your mail. Just so we don't mix up the versions.

Thanks for participating!
2015-11-05 11:56
Shadow
Account closed

Registered: Apr 2002
Posts: 355
Did someone have a chance to test run my entry (Reutozoom)on a real REU?

I developed it using WinVICE and testing on my C64 with 1541U2, and never had any problems.

Then when showing it on the Mysdata gathering, Hedning had managed to find a 512kb REU, so we could run it on real vintage hardware, and it worked fine.
However, later that night after some more people had arrived, we tried it again, and then there were strange bugs, to me it looked like one bit per byte had garbage data, but only for the top half of the memory!
Resetting and reloading didn't help. We unplugged the REU and tested with a 1541U2, and it worked fine again.
Later we plugged in the REU again, and then it worked.
We chalked it up to faulty hardware, since it seemed to run fine when the REU had some "rest" to cool down.

Anyway, it still would be good to know that this is the case and it's not me having done something stupid in the code.
2015-11-05 12:18
Grue

Registered: Dec 2001
Posts: 154
Commodore sold REU's with beefier psu, I think for a reason. Did you have better psu when you tried running with real REU?
2015-11-05 16:10
Shadow
Account closed

Registered: Apr 2002
Posts: 355
You might be on to something there! I don't know if that C64 was running with just a standard power supply, but I think there's a big chance that it did.
2015-11-06 06:16
hedning

Registered: Mar 2009
Posts: 4618
What?! You know me better than that, Shadow. ;) No way I ran it on a standard PSU - haven't done that for 1 year now. It ran on a Ray Carlsen PSU, which should have enough cream to run a SuperCPU at least (according to the specs). It is well known for being the best PSU around. What could be the issue is that the REU is indeed old and could be flakey - it is Walker's old modified (expanded) REU, upgraded to 1MB (I think). I haven't really used it for anything else. I will try the demo again a couple of times today (I'm home from work anyway).
2015-11-06 10:41
Shadow
Account closed

Registered: Apr 2002
Posts: 355
My deepest apologies - I should not doubt your excellent hardware collection! :)
2015-11-06 11:09
hedning

Registered: Mar 2009
Posts: 4618
Quote: My deepest apologies - I should not doubt your excellent hardware collection! :)

Haha. No prob... But anyway. Will give you some more feedback after some rounds here at home.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - 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
Clayboy
jamespurcell
JEZ
Unkle K/Reset Magazi..
Guests online: 103
Top Demos
1 Next Level  (9.7)
2 Mojo  (9.7)
3 13:37  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.7)
6 Aliens in Wonderland  (9.6)
7 Comaland 100%  (9.6)
8 Uncensored  (9.6)
9 No Bounds  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Daah, Those Acid Pil..  (9.5)
9 Birth of a Flower  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Graphicians
1 Mirage  (9.8)
2 Archmage  (9.7)
3 Talent  (9.6)
4 Facet  (9.6)
5 Hend  (9.6)

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