Commodore 64 (C64) Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Looking for C64 "hack" utility
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> General
View previous topic :: View next topic  
Author Message
gyro
C64 Enthusiast
C64 Enthusiast


Joined: 29 Nov 2008
Age: 44
Posts: 763
Location: Louisville KY : Last C64 Game Played - Archon

PostPosted: Mon Jul 20, 2009 4:37 pm    Post subject: Looking for C64 "hack" utility Reply with quote

There was a post a few months ago of someone developing a utility that you can run alongside a running C64 program in an emulator and watch literally everything going behind the scenes. What memory was being used, viewing/editing individual sprites, but one thing that sticks out was the ability to zoom in and out of the actual code. Does anyone know what I am talking about or was I just dreaming this up one night? It wasn't available for the public at the time, and I'd like to know if it is now...
_________________


Member of Louisville KY area C64 BBSes
Handle "Gyro" or "Gyromite" 1986-1993

--- 1200 baud rules!!! ---
Back to top
View user's profile Send private message
gyro
C64 Enthusiast
C64 Enthusiast


Joined: 29 Nov 2008
Age: 44
Posts: 763
Location: Louisville KY : Last C64 Game Played - Archon

PostPosted: Mon Jul 20, 2009 5:51 pm    Post subject: Reply with quote

Ah, here it is. ICU64. Still cant find it anywhere


Link

_________________


Member of Louisville KY area C64 BBSes
Handle "Gyro" or "Gyromite" 1986-1993

--- 1200 baud rules!!! ---
Back to top
View user's profile Send private message
tfg
C64 Enthusiast
C64 Enthusiast


Joined: 02 Jan 2008
Age: 41
Posts: 636
Location: synaptic wastelands

PostPosted: Mon Jul 20, 2009 6:18 pm    Post subject: Reply with quote

The comments on youtube suggest that it's still under development. Which is too bad, I could use a tool like this right now. Sad
_________________
cement is more interesting than people think!!!
Back to top
View user's profile Send private message
Moloch
Master of C64
Master of C64


Joined: 02 Dec 2004
Age: 43
Posts: 1330
Location: Murkasada

PostPosted: Mon Jul 20, 2009 6:54 pm    Post subject: Reply with quote

Yes, this could be quite helpful with any project. Can't wait to see a working release!
Back to top
View user's profile Send private message Visit poster's website
mrsid
C64 Enthusiast
C64 Enthusiast


Joined: 27 Jan 2003
Age: 39
Posts: 963
Location: Netherlands

PostPosted: Mon Jul 20, 2009 7:11 pm    Post subject: Reply with quote

It's quite impressive, needs to be for VICE though. No one seriously bothers with Frodo anymore...
Back to top
View user's profile Send private message
DanSolo
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 23 May 2006
Posts: 3494

PostPosted: Mon Jul 20, 2009 10:44 pm    Post subject: Reply with quote

Cool Wow Cool I could have so much fun with that.
I can't see there being much problem integrating with VICE instead of Frodo. The Hacking program just reads and modifies wherever the game is stored in the emulator memory so it should be easy to change the address it looks for.
Back to top
View user's profile Send private message
gklinger
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 06 Dec 2004
Age: 44
Posts: 5786
Location: Toronto, CANADA

PostPosted: Mon Jul 20, 2009 11:21 pm    Post subject: Reply with quote

That is seriously cool. I'm thinking it would be as useful as an educational aide as it would be for development. Can you imagine how much easier would it be for someone to learn machine language if they could see what the computer was doing at any given moment? Freaky.

Too bad mathfigure isn't a member here. I'd love to hear more about ICE64 directly from them.
_________________
Here's to feeling good all the time.
Back to top
View user's profile Send private message Visit poster's website
genrex
Grandmaster of C64
Grandmaster of C64


Joined: 30 Sep 2002
Age: 38
Posts: 1914
Location: Orange County, California.

PostPosted: Tue Jul 21, 2009 12:32 am    Post subject: Reply with quote

Shocked I imagined this kind of thing when I first saw the poke finder in AR cart. Would love to see this project completed.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
gyro
C64 Enthusiast
C64 Enthusiast


Joined: 29 Nov 2008
Age: 44
Posts: 763
Location: Louisville KY : Last C64 Game Played - Archon

PostPosted: Tue Jul 21, 2009 2:06 am    Post subject: Reply with quote

If it will let me change the sprites in Green Beret from the original karate thugs to the guys in International Karate ][, I will bow to the creator. Cool

BTW, I invited mathfigure to Lemon. Hopefully we'll see him around.
_________________


Member of Louisville KY area C64 BBSes
Handle "Gyro" or "Gyromite" 1986-1993

--- 1200 baud rules!!! ---
Back to top
View user's profile Send private message
dmackey828
C64 Enthusiast
C64 Enthusiast


Joined: 05 Jun 2009
Age: 47
Posts: 929
Location: Fulton, NY

PostPosted: Tue Jul 21, 2009 5:32 am    Post subject: Reply with quote

Now that ICE64 program is neat. I WANT A COPY!!
Back to top
View user's profile Send private message Visit poster's website
Moloch
Master of C64
Master of C64


Joined: 02 Dec 2004
Age: 43
Posts: 1330
Location: Murkasada

PostPosted: Tue Jul 21, 2009 12:44 pm    Post subject: Reply with quote

mrsid wrote:
It's quite impressive, needs to be for VICE though. No one seriously bothers with Frodo anymore...

Yeah, was a bit surprised to see the development for use with Frodo. Certainly needs to be ported over to work with VICE or CCS.
Back to top
View user's profile Send private message Visit poster's website
mathfigure
Newbie


Joined: 24 Jul 2009
Posts: 4

PostPosted: Sat Jul 25, 2009 12:06 am    Post subject: Reply with quote

Hello guys, I'm mathfigure.

- Sorry in advance about my English -

I appreciate your interest about the tool ICU64 ('I see you 64').

Although the idea was from 2000, the project started at Nov 2006.
Initially, it was for specific binary versions of VICE and CCS64.
To support Frodo, I took a different approach modifying its source code.
That gave me much more possibilities, so I put aside the others.

For two years, only minor improvements made.
I decided to make it public (on YouTube) to see the reaction of people,
hoping for a push to proceed the development.

Now, my effort is to make it available to anyone this summer,
and to re-establish the original meaning of 'HACKER' and 'HACKING'.

Thanks.

(BTW: I enjoyed your description about the tool, gyro)
Back to top
View user's profile Send private message
DanSolo
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 23 May 2006
Posts: 3494

PostPosted: Sat Jul 25, 2009 12:11 am    Post subject: Reply with quote

Great to have you here. mathfigure. Why isn't it just as compatible with VICE? Doesn't it mirror a certain string of bytes from the emulator?
Back to top
View user's profile Send private message
gklinger
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 06 Dec 2004
Age: 44
Posts: 5786
Location: Toronto, CANADA

PostPosted: Sat Jul 25, 2009 2:18 am    Post subject: Reply with quote

DanSolo wrote:
Great to have you here. mathfigure.

Seconded!

mathfigure: I'd love to hear more about how ICU64 works and I'm sure I'm not the only one. Don't want to take up too much of your time though because I'm eager for you to finish it. Smile
_________________
Here's to feeling good all the time.
Back to top
View user's profile Send private message Visit poster's website
genrex
Grandmaster of C64
Grandmaster of C64


Joined: 30 Sep 2002
Age: 38
Posts: 1914
Location: Orange County, California.

PostPosted: Sat Jul 25, 2009 3:40 am    Post subject: Reply with quote

Great to have you with us mathfigure Smile
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
charliehopke
Groupie
Groupie


Joined: 16 Feb 2008
Age: 63
Posts: 152
Location: Missouri, USA

PostPosted: Sat Jul 25, 2009 10:15 pm    Post subject: Reply with quote

Welcome mathfigure. Anyway this could ever be modified to work on the C64, or is it far to sofisticated for the 8-bit system? If I understand what is happening here, the program is actually working on the emulator, and not what is being emulated?
_________________
Strangers are just friends we haven't met yet.
Back to top
View user's profile Send private message
gyro
C64 Enthusiast
C64 Enthusiast


Joined: 29 Nov 2008
Age: 44
Posts: 763
Location: Louisville KY : Last C64 Game Played - Archon

PostPosted: Sun Jul 26, 2009 3:12 am    Post subject: Reply with quote

gklinger wrote:
DanSolo wrote:
Great to have you here. mathfigure.

Seconded!



Thirded Thumbs Up Glad you decided to join us. Anyone for Fourthded? Smile

mathfigure wrote:
Now, my effort is to make it available to anyone this summer,and to re-establish the original meaning of 'HACKER' and 'HACKING'.


Awesome...
_________________


Member of Louisville KY area C64 BBSes
Handle "Gyro" or "Gyromite" 1986-1993

--- 1200 baud rules!!! ---
Back to top
View user's profile Send private message
?SYNTAX ERROR
Lemon64 Veteran
Lemon64 Veteran


Joined: 20 Jul 2002
Posts: 911
Location: Bendigo, Oz Rank: Stroker

PostPosted: Sun Jul 26, 2009 7:10 am    Post subject: Reply with quote

Wow!

Very impressive, I hope you get it all working to your satisfaction mathfigure. Smile
_________________
Why can't I type in the minichat without making a typo?
Back to top
View user's profile Send private message Send e-mail
groepaz
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 13 Oct 2004
Posts: 5600

PostPosted: Sun Jul 26, 2009 8:51 am    Post subject: Reply with quote

Quote:
Although the idea was from 2000, the project started at Nov 2006.
Initially, it was for specific binary versions of VICE and CCS64.
To support Frodo, I took a different approach modifying its source code.
That gave me much more possibilities, so I put aside the others.


mmmh, but there is source for VICE too? i really understand someone pics frodo over vice because of frodo beeing much nicer structured and easier to read etc .... but then again, its emulation is years behind Sad which unfortunately means that such kind of program, while very nice, wont be terribly useful in practise.

btw did you add "pokefinder" functionality too? (take initial snapshot of all ram, then compare a second snapshot, filter and display differences, repeat...) - thats one of the features i really wonder why it isnt in vice yet, every other damn emu has this kind of stuff by now =)
_________________
*plop*
Back to top
View user's profile Send private message
ARKANOID
Forum Junkie
Forum Junkie


Joined: 15 Apr 2009
Age: 41
Posts: 573
Location: UK

PostPosted: Sun Jul 26, 2009 1:56 pm    Post subject: Reply with quote

mrsid wrote:
It's quite impressive, needs to be for VICE though. No one seriously bothers with Frodo anymore...

I would love to see a finished version of this software to. I have allways wanted to code but i cant seem to get my head around it for same reason. this program may help me learn and understand better.

Cant wait to see a public release. But defenatly needs to be for VICE.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mathfigure
Newbie


Joined: 24 Jul 2009
Posts: 4

PostPosted: Mon Jul 27, 2009 5:48 pm    Post subject: Reply with quote

- My English still need work -

A little about how it works:

Currently, ICU64 works more like the 'Cheat Engine' (as a debugger), but with a value help from the debugged application, which is a modified version of Frodo emulator (called 'Frodo Redpill').
Frodo redpill can report useful events (like memory accesses, new frames, raster interrupts, bad lines, clock cycles, etc) and can be instrcucted to get snapshots of the whole state (as an example, when ICU64 enables the raster effects, Frodo Redpill takes 15600 snapshots/sec). Thus, ICU64 has full access both to the current state of the virtual machine and to every event that occur inside it. Then is just a matter to interface this information to the user.

I choose Frodo instead of VICE because Frodo has much simpler source code. Frodo Redpill can already be used by other applications like ICU64.
I'm not so proud for this framework, as it is right now; it could be better.

So, let me illustrate my vision:

An emulator can easily expose every bit and every event of the machine that emulates. Using such an emulator as a platform many applications could extend the capabilities of the emulated machine (and any software that it runs), working either as wrappers, editors, or just as monitor tools (which are all hacking tools). A user application with such a tool would be a 'HACK'.

As an example of a hack, see this video which uses a new feature of ICU64:


Link

This is 'Boulder Dash 4' for Commodore 64. What you see is the off-screen where the full world of the game remains. Normally the game shows only a small window of this world and scrolls horizontally and vertically when it is necessary. ICU64 simulating a customizable display is able to show the full world of the game. Instead of reading from the temporary video RAM, as VIC-II do, ICU64 reads from the memory where the off-screen is located. The particular display you see is 4 times bigger than C64's.
(No borders was tough, but no screen limits... that was impossible!)

A more impressive possibility with diverse range of applicability would be what I call "GAME WORLD TRANSFORM" (although some other term could be better). Most C64's games build their worlds using custom charsets where every text character is a block of graphics (the same is valid for sprites). Imagine replacing the whole charset with a new one that may have even bigger blocks and even more colors (true color). What you get?
The same C64 retro game with grand new graphics, almost so good as current PC graphics.
Retro gamers will have new experiences of their favorite games (if they want of course).

Would even be possible to transform the whole world from flat to 3D and insert lights and cameras. And to push this to the limits, combine it with Virtual Reality technology and... you are inside a C64's world!
Or combine this with Holography Technology or 3D-Displays and... the sprites are escape to the real world!
And guess what, it is still the original C64 from the '80, since neither software nor hardware is altered! It is just a new view of the same thing.

There are also other possibilities as "GAME MIXES" (AI and worlds from different games, all together). Imagine a battle between the AI (not just the sprites) Karatekas taken from different games (Int. Karate, Exploding Fist, etc). This could happen mapping the attacks from one game to the attacks of the other game and vice versa.

Parallel execution of synchronized C64s. Imagine a video-wall (eg: 4x4=16) of C64s, each of which running a part of a special designed application which exploit more power: speed x16 (16MHz), memory x16 (1MB), screen x16 (1280x800), voices x16 (48!). What is needed to operate all these is only a maestro that will keep them synchronized. (Demo Sceners will have new challenges!)

Education tools about programming or hardware (imagine labels and full text descriptions everywhere).

There is a diverge range of visualizations. Who knows what someone can think. As you have the full control of the system there are no limmits.

The 'HACKING TECHNOLOGY' designed for Hackers (the most skilled persons on what they do). As they hack only machines (and not people), you couldn't imagine what they could do.

I just made a start to this direction with "Frodo Redpill" and "ICU64", but it is not an easy task for only one person. More people must involve, and all these ideas are free for implementation.

VICE and CCS64 is the best C64's Emulators and would be good if the their developers expose a programming interface with full access to every bit end every event of C64. Immediately, will be transformed to platforms for a new era of software technologies and applications (that will have started using just a C64).
This, of course, could be happen with any virtual machine (so harry-up!).

People inside C64 community still loves Commodore 64. Why?
Are you expecting something more from Commodore 64?
I hope that I live in a universe where this is the case.

(the whole project is dedicated to the Commodore 64 community)

-mathfigure 2009.07.27
Back to top
View user's profile Send private message
DanSolo
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 23 May 2006
Posts: 3494

PostPosted: Mon Jul 27, 2009 7:32 pm    Post subject: Reply with quote

Anybody else saying to themselves "I can see the Matrix"? Cool
Back to top
View user's profile Send private message
gyro
C64 Enthusiast
C64 Enthusiast


Joined: 29 Nov 2008
Age: 44
Posts: 763
Location: Louisville KY : Last C64 Game Played - Archon

PostPosted: Tue Jul 28, 2009 2:16 am    Post subject: Reply with quote

That is pretty crazy. As neat as revamping the C64 games graphics sound, I'd be more into putting cameos of other game characters in the games.... sort of like they did to Doom way back when with the modded characters. Remember Alien Doom? How about a game of Jumpman Mission 2?
_________________


Member of Louisville KY area C64 BBSes
Handle "Gyro" or "Gyromite" 1986-1993

--- 1200 baud rules!!! ---
Back to top
View user's profile Send private message
Garak
C64 Enthusiast
C64 Enthusiast


Joined: 19 May 2002
Age: 39
Posts: 819
Location: Pennsylvania, USA

PostPosted: Tue Jul 28, 2009 3:23 am    Post subject: Reply with quote

Moloch wrote:
Yes, this could be quite helpful with any project.


Agreed!

Welcome Mathfigure! Watched the video and read what you've posted. This is great stuff waiting to see more. Very Happy
_________________
Proud to be "predictably pedantic".
"Business is war, I don't believe in compromising. I believe in winning." - Jack Tramiel
"Frammin' on the jim-jam, frippin at the krotz." - The Wizard of Id
Back to top
View user's profile Send private message Send e-mail
jonttu
Über Groupie
Über Groupie


Joined: 29 May 2003
Age: 28
Posts: 347
Location: Vantaa, Finland

PostPosted: Tue Jul 28, 2009 11:12 am    Post subject: Reply with quote

This is one heck of cool looking program!! Very Happy I too hope you'll release it someday!

mathfigure wrote:
ICU64 simulating a customizable display is able to show the full world of the game. Instead of reading from the temporary video RAM, as VIC-II do, ICU64 reads from the memory where the off-screen is located. The particular display you see is 4 times bigger than C64's.

That is a really nice feature IMHO! You surely have put in a lot of work for this one! Smile

mathfigure wrote:

A more impressive possibility with diverse range of applicability would be what I call "GAME WORLD TRANSFORM" (although some other term could be better). Most C64's games build their worlds using custom charsets where every text character is a block of graphics (the same is valid for sprites). Imagine replacing the whole charset with a new one that may have even bigger blocks and even more colors (true color). What you get?
The same C64 retro game with grand new graphics, almost so good as current PC graphics.
Retro gamers will have new experiences of their favorite games (if they want of course).

Would even be possible to transform the whole world from flat to 3D and insert lights and cameras. And to push this to the limits, combine it with Virtual Reality technology and... you are inside a C64's world!
Or combine this with Holography Technology or 3D-Displays and... the sprites are escape to the real world!
And guess what, it is still the original C64 from the '80, since neither software nor hardware is altered! It is just a new view of the same thing.

There are also other possibilities as "GAME MIXES" (AI and worlds from different games, all together). Imagine a battle between the AI (not just the sprites) Karatekas taken from different games (Int. Karate, Exploding Fist, etc). This could happen mapping the attacks from one game to the attacks of the other game and vice versa.


What a nice vision that is! Very Happy Since there are so many coders out there (and many of us who have started coding pretty recently Wink ), that dream probably will come true one day.

Anyway, congratulations again for a very nice-looking utility!
_________________
T M S
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> General All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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 vote in polls in this forum
Tip: Get C64 Forever for super-comfy C64 emulation with pre-installed games, demos and other goodies!


Powered by phpBB © 2001, 2005 phpBB Group