| View previous topic :: View next topic |
| Author |
Message |
C64 Enthusiast

Joined: 20 Jun 2004 Posts: 770
|
Posted: Fri Nov 19, 2010 1:38 pm Post subject: |
|
|
Well, then, it comes full circle then, as my task is to finish the EF2 cart layout. I did not know it had the required capability.
Off to finish it then, I am.
Jim |
|
| Back to top |
|
 |
Groupie in Training


Joined: 03 Sep 2009 Posts: 121
|
Posted: Fri Nov 19, 2010 2:46 pm Post subject: |
|
|
brain: You don't need to do anything for the EF2. I discontinued the design a while ago already because I'm not satisfied with it. The external kernal I implemented in the EF2 was not 100% cleanly designed in the lack of a suitable clock source and a separate clock domain. As written in the EF thread I've some ideas for the EF3 already, but who knows when it will come. _________________ |
|
| Back to top |
|
 |
Grandmaster of C64


Joined: 29 Jun 2009 Age: 40 Posts: 2615 Location: Baltimore, MD Favorite Games: Ultima ][, Wasteland
|
Posted: Fri Nov 19, 2010 2:54 pm Post subject: |
|
|
| skoe wrote: | | brain: You don't need to do anything for the EF2. I discontinued the design a while ago already because I'm not satisfied with it. The external kernal I implemented in the EF2 was not 100% cleanly designed in the lack of a suitable clock source and a separate clock domain. As written in the EF thread I've some ideas for the EF3 already, but who knows when it will come. |
As the hush falls over the crowd and a single tear hits the ground. |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 30 Apr 2009 Age: 38 Posts: 3465 Location: Sweden
|
Posted: Fri Nov 19, 2010 5:45 pm Post subject: |
|
|
Well, if skoe shares the work perhaps someone can come up with something.
I guess one wire to solder in would be easier than desoldering an entire chip, so I guess that could be a solution if it can't be solved any other way. |
|
| Back to top |
|
 |
C64 Enthusiast


Joined: 05 Jun 2009 Age: 45 Posts: 868 Location: Fulton, NY
|
Posted: Fri Nov 19, 2010 6:49 pm Post subject: |
|
|
Nice, EF2 speak and then EF3 Speak... Excellent. I'll be looking forward to those. _________________ |
|
| Back to top |
|
 |
C64 Enthusiast

Joined: 20 Jun 2004 Posts: 770
|
Posted: Fri Nov 19, 2010 7:01 pm Post subject: |
|
|
| skoe wrote: | | brain: You don't need to do anything for the EF2. I discontinued the design a while ago already because I'm not satisfied with it. The external kernal I implemented in the EF2 was not 100% cleanly designed in the lack of a suitable clock source and a separate clock domain. As written in the EF thread I've some ideas for the EF3 already, but who knows when it will come. |
OK, but I am committed to bringing a design like it to the community. That said, I *KNOW*(1) how to make this design work, but it requires a level of knowledge I do not yet possess, namely VHDL skills. I have funded a bounty for $100 to encourage folks like you to do this, though.
1. I can;t claim credit for the idea, the principal from Chip Level Designs (can;t remember the name right now) explained the idea in 2004 as he showed me a circuit board for an unfinished product that would utilize the idea. I hold out hope there is a less complex solution. Still, here is one solution I know will work:
a) grab a Verilog/VHDL of the 6510 (or create one).
b) Remove all "output" logic except for the 6 IO lines representing $0/$1
c) attach it to the C64 bus, A,D,BA,PHI2,R/W, IRQ, NMI, etc.
The external 6510 will effectively "mirror" the operations in the internal one, without having any side effects. Thus, the $0/$1 will effectively mirror the state of the internal location, and thus you can pick up the value there.
Obviously, the cartridge could be re-targeted to do other things in this case (faster 6510, by adding some RAM, etc.), but it's a very complex way to accomplish the goal.
One *might* be able to simplify the 6502 core to not actually implement any store values that don't target $0,$1, but one has to catch all of the variations of $0,$1 (0,X, 0,Y, (LOC),X, (LOC,Y) (might have the registers mixed up there, but you get the idea). Still, i don't think that will buy much. My only hope if this is the solution is to find an older FPGA that is inexpensive to buy in the secondary market and I can pick it up inexpensively.
Jim |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 30 Apr 2009 Age: 38 Posts: 3465 Location: Sweden
|
Posted: Fri Nov 19, 2010 7:27 pm Post subject: |
|
|
So the Chameleon should be able to do that then... maybe it already does?
The 1541U-II could perhaps do it as well as it has a FPGA which could be programmed with 6510 core.
It may mean more sold JiffyDOS as well.  |
|
| Back to top |
|
 |
C64 Enthusiast

Joined: 20 Jun 2004 Posts: 770
|
Posted: Fri Nov 19, 2010 7:35 pm Post subject: |
|
|
| e5frog wrote: | So the Chameleon should be able to do that then... maybe it already does?
The 1541U-II could perhaps do it as well as it has a FPGA which could be programmed with 6510 core.
It may mean more sold JiffyDOS as well.  |
I know Chameleon does, but it's price is far beyond the target price point. For the cost of a Chameleon, people could ship their unit to me, I solder a socket, install JD, charge a nice amount for the work, and ship it back to them (at their cost) and still have cash left over.
Jim |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 30 Apr 2009 Age: 38 Posts: 3465 Location: Sweden
|
Posted: Fri Nov 19, 2010 7:41 pm Post subject: |
|
|
I just meant that the future Chameleon users may be able to do just this, not that the Chameleon was supposed to be the only mean of getting this. |
|
| Back to top |
|
 |
Grandmaster of C64


Joined: 29 Jun 2009 Age: 40 Posts: 2615 Location: Baltimore, MD Favorite Games: Ultima ][, Wasteland
|
Posted: Fri Nov 19, 2010 7:53 pm Post subject: |
|
|
| brain wrote: | | I know Chameleon does, but it's price is far beyond the target price point. | Besides, when is it going to be released? Yes it does a lot (or at least it says it does a lot). But without the product being delivered, it kinda' makes me loose hope on it. This articular talks about it being release 1st quarter 2009. With other posts on other forums saying it will get released soon. Some date back from September 2009. Don't get me wrong. It would be great if it gets delivered but 2 years after a target date can kill a lot of projects. I hope this one is not one of those. |
|
| Back to top |
|
 |
Über Groupie


Joined: 26 Feb 2008 Posts: 360
|
Posted: Fri Nov 19, 2010 7:58 pm Post subject: |
|
|
| brain wrote: | Still, here is one solution I know will work:
a) grab a Verilog/VHDL of the 6510 (or create one).
b) Remove all "output" logic except for the 6 IO lines representing $0/$1
c) attach it to the C64 bus, A,D,BA,PHI2,R/W, IRQ, NMI, etc. |
What would happen if a program sets the HIRAM bit in port $0001 to the current value of the cassette sense switch (also in $0001)? Sure it's unusual, but people have done weirder things in the name of emulator detection. |
|
| Back to top |
|
 |
Groupie in Training


Joined: 03 Sep 2009 Posts: 121
|
Posted: Fri Nov 19, 2010 7:59 pm Post subject: |
|
|
Just to make sure nobody got confused about EF2, EF3 and External Kernal: About a year ago I made a prototype of an EF2, it had several new features. I asked Jim if he wants to make an updated design from this prototype and sell it in his shop. This didn't happen because Jim didn't have enough time.
After a while I recognized that the design of the EF2 reached its limits already and that there are some other concepts which could make it cheaper _and_ more flexible. That's what I call EF3. There is no prototype for this one yet. And I'm not going to start the development in near future, because there's still much potential in the current EasyFlash (software updates, patches for software to make it run on EF etc.).
The EF3 will contain an external kernal that does it like described in this thread (without cable). I did not plan to make a stand-alone external kernal cartridge. But the bounty could be a motivation to add a simple kernal cartridge to my todo-list. And if it is additionally useful for somebody else, e.g. for Jim's Jiffy distribution, I'd like to do it. Especially it's a challenge to do it with cheap electronic parts.
Hopefully this clarifies some confusion about my statements. _________________ |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 30 Apr 2009 Age: 38 Posts: 3465 Location: Sweden
|
Posted: Fri Nov 19, 2010 8:07 pm Post subject: |
|
|
As long as the EF3 can use the EasyFlash .crt images it's cool, or all that work is lost with conversions and so.
If you smack an FPGA on a cart for a 6510 core emulation to work as a kernal replacement I'm sure there would be room in the FPGA for other things as well.
Last edited by e5frog on Fri Nov 19, 2010 8:30 pm; edited 1 time in total |
|
| Back to top |
|
 |
Groupie in Training


Joined: 03 Sep 2009 Posts: 121
|
Posted: Fri Nov 19, 2010 8:19 pm Post subject: |
|
|
OT: EasyFlash-compatibility will be on #1 on the priority list  The EasyFlash software and documentation for programmers contain measures already to provide compatibility for different Flash ROM types. _________________ |
|
| Back to top |
|
 |
Groupie in Training

Joined: 22 Jun 2005 Posts: 121
|
Posted: Fri Nov 19, 2010 10:38 pm Post subject: |
|
|
I have drafted bounty terms and posted them at Commodore Bounty Forum.
http://www.commodorebounty.com...tart=6#171
Please review and feel free to critique. Once the language is agreed upon, I will start the bounty. |
|
| Back to top |
|
 |
C64 Enthusiast

Joined: 20 Jun 2004 Posts: 770
|
Posted: Sat Nov 20, 2010 1:09 am Post subject: |
|
|
| Unseen wrote: | | brain wrote: | Still, here is one solution I know will work:
a) grab a Verilog/VHDL of the 6510 (or create one).
b) Remove all "output" logic except for the 6 IO lines representing $0/$1
c) attach it to the C64 bus, A,D,BA,PHI2,R/W, IRQ, NMI, etc. |
What would happen if a program sets the HIRAM bit in port $0001 to the current value of the cassette sense switch (also in $0001)? Sure it's unusual, but people have done weirder things in the name of emulator detection. |
True, but I can grab those signals from the cassette port, which does not require popping the case. I can always offer a spot on the cartridge for a cable that no one will ever buy.
I'm comfortable with that issue, as I feel the probability is much higher that an app will use the RAM under ROM than it will need to manipulate the sense signal into the HIRAM location.
Jim |
|
| Back to top |
|
 |
Groupie in Training

Joined: 22 Jun 2005 Posts: 121
|
Posted: Sat Nov 20, 2010 1:46 am Post subject: |
|
|
A bounty has been started, please spread the word.
http://commodorebounty.com/ind...;Itemid=37 |
|
| Back to top |
|
 |
C64 Enthusiast

Joined: 20 Jun 2004 Posts: 770
|
Posted: Sat Nov 20, 2010 2:28 am Post subject: |
|
|
k, I'm in.
Jim |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 30 Apr 2009 Age: 38 Posts: 3465 Location: Sweden
|
Posted: Sat Nov 20, 2010 1:34 pm Post subject: |
|
|
Has anyone ever done an internal reprogrammable kernal?
I'm thinking a second chip that can be accessed and reprogrammed from the C64 like described for the kernal cart? Internal flash kernal? |
|
| Back to top |
|
 |
Groupie in Training

Joined: 22 Jun 2005 Posts: 121
|
Posted: Sat Nov 20, 2010 5:06 pm Post subject: |
|
|
Everyone clamored for a bounty, but only Brain has contributed so far! |
|
| Back to top |
|
 |
C64 Enthusiast


Joined: 05 Jun 2009 Age: 45 Posts: 868 Location: Fulton, NY
|
Posted: Sat Nov 20, 2010 7:56 pm Post subject: |
|
|
| redrumloa wrote: |
Everyone clamored for a bounty, but only Brain has contributed so far! |
Pitched my $20 in..  _________________
|
|
| Back to top |
|
 |
Master of C64


Joined: 28 May 2002 Age: 39 Posts: 1185 Location: Toronto, Canada
|
Posted: Sun Nov 21, 2010 5:03 am Post subject: |
|
|
| redrumloa wrote: | | Everyone clamored for a bounty, but only Brain has contributed so far! |
It's the weekend, I hardly ever visit Lemon on weekends! Contributed as promised. |
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 30 Apr 2009 Age: 38 Posts: 3465 Location: Sweden
|
Posted: Sun Nov 21, 2010 2:11 pm Post subject: |
|
|
I got an answer from Mr Ruud Baltissen, he thought his design should work and I got a link to the published article from a German magazine:
http://www.baltissen.org/files/extkernal.pdf
He said he hadn't tried it himself as he swapped them internally instead when needed.
If you have to choose between building this yourself or just swap roms in the C64, the latter is easier I guess. If you could buy the cart and plug it in, that would be easiest though.
Did anyone mention why this design would not work, I scrolled through the posts but couldn't find anything. Yes, that's right, not being able to use the ram...
I'm not that good at German, it will take me a while to read it through an I won't understand everything anyway.
It does say in one header though "Important: Access to the RAM below the ROM!"
The construction seems to be a lot more than just a kernal replacement though.
I've read some more and it appears you are supposed to be able to use the RAM at the ROM address with this design as well as using the tape. You can have four different ROM kernals or three ROMs and one SRAM that can be loaded up from disk drive and then write protected. A battery backup is also planned for.
I almost feel like building it just to try...
Apparently there was also a single kernal rom circuitboard and a version for the C128 available at the supplier Garnet Weiss in München. |
|
| Back to top |
|
 |
Immortal Grandmaster of C64

Joined: 13 Oct 2004 Posts: 4693
|
Posted: Sun Nov 21, 2010 5:38 pm Post subject: |
|
|
| Quote: | | Did anyone mention why this design would not work |
it is very timing sensitive, and relies on the delay introduced by the logic chips used. its similar hackery as the eprom-pla, except this is even worse =) (now if you want a really unstable combination, try this cartridge in a c64 with eprom pla =P) _________________
|
|
| Back to top |
|
 |
Immortal Grandmaster of C64


Joined: 30 Apr 2009 Age: 38 Posts: 3465 Location: Sweden
|
Posted: Sun Nov 21, 2010 6:06 pm Post subject: |
|
|
Ok, but if the theory of operation is OK then perhaps these things can be better implemented in more modern hardware?
Or is there something in its design that will not work?
Eprom PLA users have themselves to blaim if it doesn't work.  |
|
| Back to top |
|
 |
|