I read about a C64 emulator in the works (other than the aborted Comeback 64 project) quite a while back and haven't heard anything about it since then. Has it been abandoned? I could've sworn I saw a website and some screenshots for it too, so it must've been close? Anyone have any news about it?
What happened to the C64 emulator in the works?
Ya, I remember it too. But those weren't screenshots, just concept art.
The complex part of the work seems to be input (via buttons and soft keyboard) and output only (please don't missunderstand the "only"). The emulator itself should be so portable that it's not a real problem. I realy hope that they will figure it out how to solve it. I would pay for a working C64 emu on PPC2002 ...
My respect to every bloke spending spare time to hack some code into these little thingies ...
My respect to every bloke spending spare time to hack some code into these little thingies ...
Wickie wrote:
The complex part of the work seems to be input (via buttons and soft keyboard) and output only (please don't missunderstand the "only"). The emulator itself should be so portable that it's not a real problem. I realy hope that they will figure it out how to solve it. I would pay for a working C64 emu on PPC2002 ...
My respect to every bloke spending spare time to hack some code into these little thingies ...
Yeah, however the PocketPC is pretty crippled. It doesn't have implementations of a lot of standard C library stuff - it has no concept of the current directory, etc.
Porting stuff is unfortunately not as easy as it would be to a unix machine when you only have to scale the screen.
(Playing with porting something else ;)
Nice hint with the unix stuff ...
Some guy ported the Basiliks emulator to the Zaurus as well ... that ... and UAE as well, is somehow absurd ...
How much frames in UAE can I expect on a StromARM?
;-)
Some guy ported the Basiliks emulator to the Zaurus as well ... that ... and UAE as well, is somehow absurd ...
How much frames in UAE can I expect on a StromARM?
;-)
Well, as project coordinator, I guess I should probably reply...
The project (PocketHobbit as we call it, www.omnytex.com/ph) is not dead, just at a temporary point of inaction.
There are three primary programmers involved, myself, Refractor and Michael Adcock. The bottom line is that all three of us have been tremendously busy with work-related things (like, oh, ummm... WORK!!) and haven't been able to put any time into it for about a month now.
We got the emulation working, we were able to execute some simple Basic programs, so it's basically working. We also did some graphics code to allow both landscape and portrait (with and without borders) which required some filtering code (kudos to Refractor for handling that).
However, for quite a while we had trouble with getting the keyboard code to work. At this point it works, but I only started hacking together some temporary on-screen keyboard code, but it never got finished.
The disk loading code is broke at the moment, and I think the issues alluded to in this thread are accurate. None of us has had time to sift through it and get it working.
So, at this point what we have is a program that runs and that you can flip orientations on-the-fly with (but it isn't 100% working there) and it may or may not work on all devices. If you run this within the desktop emulator you can in fact type in programs and execute them, but you cannot load anything and there is no on-screen keyboard to play with.
In addition, sound code has been written but because of the lack of keyboard and disk loading we have yet to test it.
I also wrote the code to parse a D64 file, so we're more or less ready to write loader code, once the basic disk load functions are complete.
Argh, sounds kinda bad now that I read that back! It comes down to time, nothing more. We don't see any insurmountable problems right now, but until at least one of us has some free time to put into it, it's not going anywhere fast. It'll get done almost certainly, but it could be months away (or days if things break right, who the hell knows?!?)
Certainly not ME, Mr. project coordinator!
(I'm not coordinating anything except messages to say there's nothing to coordinate!)
The project (PocketHobbit as we call it, www.omnytex.com/ph) is not dead, just at a temporary point of inaction.
There are three primary programmers involved, myself, Refractor and Michael Adcock. The bottom line is that all three of us have been tremendously busy with work-related things (like, oh, ummm... WORK!!) and haven't been able to put any time into it for about a month now.
We got the emulation working, we were able to execute some simple Basic programs, so it's basically working. We also did some graphics code to allow both landscape and portrait (with and without borders) which required some filtering code (kudos to Refractor for handling that).
However, for quite a while we had trouble with getting the keyboard code to work. At this point it works, but I only started hacking together some temporary on-screen keyboard code, but it never got finished.
The disk loading code is broke at the moment, and I think the issues alluded to in this thread are accurate. None of us has had time to sift through it and get it working.
So, at this point what we have is a program that runs and that you can flip orientations on-the-fly with (but it isn't 100% working there) and it may or may not work on all devices. If you run this within the desktop emulator you can in fact type in programs and execute them, but you cannot load anything and there is no on-screen keyboard to play with.
In addition, sound code has been written but because of the lack of keyboard and disk loading we have yet to test it.
I also wrote the code to parse a D64 file, so we're more or less ready to write loader code, once the basic disk load functions are complete.
Argh, sounds kinda bad now that I read that back! It comes down to time, nothing more. We don't see any insurmountable problems right now, but until at least one of us has some free time to put into it, it's not going anywhere fast. It'll get done almost certainly, but it could be months away (or days if things break right, who the hell knows?!?)
Certainly not ME, Mr. project coordinator!
(I'm not coordinating anything except messages to say there's nothing to coordinate!)
fzammetti wrote:
The disk loading code is broke at the moment, and I think the issues alluded to in this thread are accurate. None of us has had time to sift through it and get it working.
I'm using celib (don't really have a link sitting around, but it's high up in a google search), which has an implementation of most of standard C and a stack of unix calls. It's not perfect, but it's a useful initial step.
I must admit that when I have cash I am seriously considering a Zaurus simply because the OS is so much less crippled. I couldn't believe there is no proper exception support in C++. Maybe I expect too much? :)
So, at this point what we have is a program that runs and that you can flip orientations on-the-fly with (but it isn't 100% working there) and it may or may not work on all devices. If you run this within the desktop emulator you can in fact type in programs and execute them, but you cannot load anything and there is no on-screen keyboard to play with.
What are the problems with the onscreen keyboard? Assuming you have a graphic, it should simply be timeconsuming to put in the values and have the right code to pick up where each key is.
Of course, the time consuminess of this is perhaps the major issue....
I really must write some gross scaling code.
A question to people reading this - is KfDirect444 actually 12 bits, or 12 significant bits of 16?
IE
Am I writing 16 bits of which 4 are ignored, or do I need to conglomerate nibbles together?
What basically is the layout of hte screen?
and kfDirect555 too, so that I don't screw up - what is the insignificant pixel?
Also, can I guarantee that a PPC screen is always 320x240 and always oriented 240x320 if I don't specify landscape?
And if not, has somebody figured out all of this complete lack of fun so that I don't have to in a really nice and consistant way? :P It makes UI a right arse if you're not sure how big something is
andys wrote:
I'm using celib (don't really have a link sitting around, but it's high up in a google search), which has an implementation of most of standard C and a stack of unix calls. It's not perfect, but it's a useful initial step.
Yeah, we may look into something like that. I think the complications won't turn out to be too big a deal though, so it probably won't be needed in the end.
andys wrote:
What are the problems with the onscreen keyboard? Assuming you have a graphic, it should simply be timeconsuming to put in the values and have the right code to pick up where each key is.
Well, what we decided upon is actually a color-map for the keyboard so that various sizes and shapes and such could be skinned. I have to be honest in that I didn't understand the idea fully when it was presented, but the other two programmers were pretty high on the idea, so we decided to go that route. My temporary solution was as you said just a location map, and it is just a matter of time.
andys wrote:
And if not, has somebody figured out all of this complete lack of fun so that I don't have to in a really nice and consistant way?It makes UI a right arse if you're not sure how big something is
You know, I started out writing my own library, and it's pretty much done at this point except for lack of 38xx series support... know what I learned form the experience? USE A LIBRARY!! PocketFrog (my choice) and the others are all top-notch and free and with source available (PocketFrog anyway, not sure about the others)... it's just not worth the effort in the long-run. Your probably not going to code anything with SIGNIFICANT performance benefits... it's certainly nice to intimately know how it works, that was my main motivation, and I'm sure it's always going to be more flexible for you that way, but what you give up in flexibility, which probably isn't too much anyway, is more than made up for by ignoring all the "fun" you alluded to.
Just my two cents, for whatever their worth (umm, TWO CENTS?!?)
Snipped a bit to keep it relevant :)
Hrm. A colour map might be quite nice. Would be easier than a location map actually, far less coding and figuring out. If your colour map is 8 bit then you have an array lookup.
I really like that idea. Shouldn't be too hard, well, aside from generating the initial colourmap ;) Also the loading is a bit of a pain.
I think everybody is clammoring for a release at the moment more than anything ;)
fzammetti wrote:
Well, what we decided upon is actually a color-map for the keyboard so that various sizes and shapes and such could be skinned. I have to be honest in that I didn't understand the idea fully when it was presented, but the other two programmers were pretty high on the idea, so we decided to go that route. My temporary solution was as you said just a location map, and it is just a matter of time.
Hrm. A colour map might be quite nice. Would be easier than a location map actually, far less coding and figuring out. If your colour map is 8 bit then you have an array lookup.
I really like that idea. Shouldn't be too hard, well, aside from generating the initial colourmap ;) Also the loading is a bit of a pain.
I think everybody is clammoring for a release at the moment more than anything ;)
Hrm. A colour map might be quite nice. Would be easier than a location map actually, far less coding and figuring out. If your colour map is 8 bit then you have an array lookup.
Yep, PocketHobbit will use an 8bit bitmap as a lookup. As you said, it's just time-consuming to take the keyboard bitmap and draw the A key in colour 27, the B key in colour 78 (made up numbers), etc. It's far more efficient than a location map, and allows pixel-granularity without having complicated lookups
Time is just something I/we don't have at the moment
Cheers,
Ref.
Hey Ref... file translation application... isn't that what XSL is for?? Ah, I don't suppose your input files are XML anyway! 
You know, I guess I actually DID understand the map idea all along, I guess I just never realized it. I suppose we'll need about 40 colors give or take to cover all the C64 keys, and then then we'll reserve abother 20 or so and the rest of the color palette entries are used as required but are not reactive as far as input goes... Do I understand that generally correct? Yes, I can certainly see why you and Michale saw it as so beneficial now, that would be far more flexible.
I'll also try and get some time over the weekend if for nothing else than to bang out a regular location map version so that we have a working on-screen keyboard to play with and start looking at the disk load code.
My new PC got here Wednesday (Dude! I got a Dell!), I'm just in the process of reinstalling thousands of things and getting used to XP a bit (I started by blowing it away and installing Win2K which I love, but I had some trouble with the sound card and it didn't seem worth it to figure it out, so we're back to XP and I'm getting used to it, it has some benefits). So, I may actually have a little time this weekend.
You know, I guess I actually DID understand the map idea all along, I guess I just never realized it. I suppose we'll need about 40 colors give or take to cover all the C64 keys, and then then we'll reserve abother 20 or so and the rest of the color palette entries are used as required but are not reactive as far as input goes... Do I understand that generally correct? Yes, I can certainly see why you and Michale saw it as so beneficial now, that would be far more flexible.
I'll also try and get some time over the weekend if for nothing else than to bang out a regular location map version so that we have a working on-screen keyboard to play with and start looking at the disk load code.
My new PC got here Wednesday (Dude! I got a Dell!), I'm just in the process of reinstalling thousands of things and getting used to XP a bit (I started by blowing it away and installing Win2K which I love, but I had some trouble with the sound card and it didn't seem worth it to figure it out, so we're back to XP and I'm getting used to it, it has some benefits). So, I may actually have a little time this weekend.
I think the C64 keyboard map has 64 keys, so 64 colours reserved for the C64
We can use the top-bit set colours (>128) as "special" keys.
Well the ones defining the input and output formats and "data-types" are XML
However, the actual input files can be a fun mix of fixed-length, tab delimited, and "other"
Then it's got to take the input, re-format it (e.g. US dates to European dates), sometimes process it, and finally spew it out to a specified output format.
It's actually kind of fun writing the application (some of it is pretty evil), but I'd just rather it didn't have to be done for November 4th
(to add to the fun our database administrator has had a nervous breakdown and will be off for over a month, leaving us to pick up that work too). Sometimes it just goes from bad to worse.
Cheers,
Ref.
Hey Ref... file translation application... isn't that what XSL is for?? Ah, I don't suppose your input files are XML anyway!
Well the ones defining the input and output formats and "data-types" are XML
It's actually kind of fun writing the application (some of it is pretty evil), but I'd just rather it didn't have to be done for November 4th
Cheers,
Ref.