23 November 2009, 17:37 | #1 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
Checking custom registers in a game/demo
Is there a way to check custom register values like modulo, screenmode, blitter regs, displayed copper ptr in the built in monitor in WinUAE while I have my demo running? Will try it now. But I mean, can I rely on the values?
|
23 November 2009, 17:44 | #2 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
I would've thought this stuff would be accurate as you'll be looking at the exact same values that the emulated "hardware" is using in order to display your demo as you see it...
...or is that too simplistic? Toni will soon tell us I suppose. |
23 November 2009, 17:47 | #3 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
Hm, tried to invoke it... wasn't it on the pgup or pgdn key?? Also, am I blind or where is the manual? Only found some text files about other things in the docs dir, and no docs on the winuae.net site.
|
23 November 2009, 17:52 | #4 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
It's Shift-F12 dude.
|
23 November 2009, 17:57 | #5 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
Huh? I distinctly remember accidentally getting some Amiga-screen with text and typing "q" or something. I pressed pgup or pgdn. I think it was in AsmOne or some text editor, and I pressed PGxx accidentally instead of "whatever it used" for 1 screen up/dn... a long time ago. It wasn't that screen, that's for sure
Quando Misterioso... Where's the documentation for THAT monitor? |
23 November 2009, 18:00 | #6 | ||
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Quote:
Quote:
|
||
23 November 2009, 18:00 | #7 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,014
|
Page up activates the freezer (if selected) in WinUAE.
|
23 November 2009, 18:02 | #8 | ||
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Quote:
Quote:
|
||
23 November 2009, 18:05 | #9 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,014
|
|
23 November 2009, 18:06 | #10 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,865
|
|
23 November 2009, 18:08 | #11 | |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Quote:
Sorry Stinger - couldn't resist! |
|
23 November 2009, 18:13 | #12 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,865
|
Hehe, that's how I wanted to write it at first actually But well, since PC's have no HELP key I added that bit of extra info too =)
|
23 November 2009, 18:17 | #13 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
LOL.
What's Photon doing reading the manual anyway? Pah! I thought he was a demo coding guru! |
23 November 2009, 18:24 | #14 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
Coding is done in an assembler. And the AsmOne debugger is excellent for most things. But not checking current custom chip registers.
I never use/used cartridges for coding/debugging in my life, so EXCUSE ME for asking but asking really has nothing to do with being a demo coding guru, which I ofc am. Hehe...anyway, found documentation here, so the only question is if the values are reliable, and it looks like they are. So. It's all good |
23 November 2009, 18:28 | #15 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
LOL.
Cheers for the link to those docs man - (just don't tell anyone I read manuals too... ) |
23 November 2009, 18:50 | #16 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,658
|
Reading manuals is actually good for coding correctly!!! (Maybe you were joking again but why should anyone feel ashamed of reading manuals? It's the other way around damnit! ) But you know how it is... the WinUAE debugger was made decades later, and looking up what single letter commands to use to hexdump really doesn't have anything to do with coding.
Oh, wait! Hmm... Maybe all those single letter commands are standardized for all cartridges/debuggers and stuff? I've never used them, so okay maybe it was a stupid question then, argh |
23 November 2009, 18:54 | #17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
type 'h'
|
23 November 2009, 18:56 | #18 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
@ Photon - Yeah, I was only joking.
I agree incidentally - in many ways reading, and understanding what you've read, is the most important skill in coding - certainly when it comes to learning both assembler and the Amiga hardware. Once you've done that I'd say ingenuity, creativity and imagination and how you apply that in code comes next. But I don't need to tell you that - there's many routines of yours I've seen that I have no clue how you did, for example, your corkscrew sine scroller () and that demo where there's a scroller but written on a little blue ball that's floating around at the top of the screen. () It wasn't a stupid question either, all those carts have their own quirks and ways of doing things - I was just yanking your chain. |
24 November 2009, 14:44 | #19 |
Registered User
Join Date: Sep 2009
Location: Sector K240
Posts: 338
|
I use shift-F12 for the WinUAE debugger. Type '?' for menu, hit the F-keys to go through tabs, and type 'g' to start executing again.
What'd be really cool is something that can show a piece of memory in real-time. You could shoot at a target and work out how much damage each shot does, or something. |
24 November 2009, 16:03 | #20 | |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
http://icu64.blogspot.com/2009/09/fi...cu64frodo.html |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using FPU registers? | oRBIT | Coders. General | 16 | 26 April 2010 13:34 |
TSGui bad sector checking | prowler | support.Apps | 9 | 15 February 2010 22:12 |
Checking my Religion | Axxy | request.Modules | 0 | 04 July 2005 19:22 |
Checking a 2.5" hd for errors | oldpx | support.Hardware | 12 | 28 July 2002 08:17 |
|
|