Search found 1542 matches

by Eero Tamminen
Tue Nov 21, 2017 12:55 am
Forum: Hatari
Topic: Symbol listing in Hatari debugger?
Replies: 24
Views: 629

Re: Symbol listing in Hatari debugger?

Dang, the forum SW is acting again, it's revealing the "secret" tags. I'm pretty sure I've been targeted by them too, based on few programming itches I had earlier. ;-) Anyway... If you really happen to take a look at the visual debugger, one of the problems of using the same window is tha...
by Eero Tamminen
Tue Nov 21, 2017 12:47 am
Forum: Coding
Topic: etv_term vector
Replies: 21
Views: 485

Re: etv_term vector

Well, if you're debugging your own code, you can look up the variable types from your sources, or otherwise remember them. Memdump is probably easiest way to look at the values (for 16-bit variable, just take the 4 first hex digits at given address). And if you want to know hex e.g. in decimal, use ...
by Eero Tamminen
Sat Nov 18, 2017 9:46 pm
Forum: Hatari
Topic: Screen size
Replies: 2
Views: 168

Re: Screen size

Build Hatari with SDL2 as with SDL2, Hatari's can scale window to any size.

If you've built Hatari with SDL1, one option is to run your program under Falcon emulation, that supports scaling the output by an integer value.
by Eero Tamminen
Sat Nov 18, 2017 8:45 pm
Forum: Hatari
Topic: Symbol listing in Hatari debugger?
Replies: 24
Views: 629

Re: Symbol listing in Hatari debugger?

ThorstenOtto wrote:Hm, did i say i'm going to implement that? :-)


<atari-forum-hypnosis>
No, but you're having an irresistible itch about it that you cannot help scratching, aren't you?
</atari-forum-hypnosis>
by Eero Tamminen
Sat Nov 18, 2017 8:40 pm
Forum: Games - General
Topic: Pacmania STE - New Version
Replies: 115
Views: 40817

Re: Pacmania STE - New Version

Tested STE in latest Hatari Mercurial version with US TOS 1.62, works fine.
by Eero Tamminen
Sat Nov 18, 2017 8:34 pm
Forum: Coding
Topic: etv_term vector
Replies: 21
Views: 485

Re: etv_term vector

Yes but I also want to execute additional code to dump my program's state through the Debugger console print functions, a program specific coredump facility. Unless you provide the Hatari debugger with the ability to list my variables correctly with datatypes and readable names ;) If you have symbo...
by Eero Tamminen
Sat Nov 18, 2017 12:24 am
Forum: Hatari
Topic: Symbol listing in Hatari debugger?
Replies: 24
Views: 629

Re: Symbol listing in Hatari debugger?

Yes, I was wondering whether you were considering doing it SDL2-only. Anyway, I'm interest to see your prototype code. :-) (Your screenshot of the other emulator looks really bare bones, I'm not really sure whether something that primitive would be any kind of improvement over current console debugg...
by Eero Tamminen
Fri Nov 17, 2017 8:41 pm
Forum: Hatari
Topic: Symbol listing in Hatari debugger?
Replies: 24
Views: 629

Re: Symbol listing in Hatari debugger?

Shouldn't be too hard to get a simple frame working, that just displays some assembly lines, cpu registers etc. From there you can start adding features from the current debugger. What your patch for implementing that to Hatari would look like? Would you implement it with a window separate from Hat...
by Eero Tamminen
Fri Nov 17, 2017 8:36 pm
Forum: Hatari
Topic: Hatari debugging with DRI symbols, ignore .a files
Replies: 4
Views: 184

Re: Hatari debugging with DRI symbols, ignore .a files

Thanks for feedback! :-)

Btw. Which GCC version you're using? My ancient sparemint version of GCC adds just *.o symbols to the binary, not *.a ones...
by Eero Tamminen
Fri Nov 17, 2017 8:32 pm
Forum: Coding
Topic: etv_term vector
Replies: 21
Views: 485

Re: etv_term vector

That's my use case. I would like to exploit it to execute a hook to call the Hatari native features and activate Hatari's debugger when the exception happens. Easier would be just ask Hatari to invoke debugger when exceptions happen. To do that for all exceptions, use following option: --debug-exce...
by Eero Tamminen
Thu Nov 16, 2017 11:50 pm
Forum: Ym rockin'
Topic: Most catchy st tune ever
Replies: 74
Views: 25611

Re: Most catchy st tune ever

I really liked the music in the Paradox Pacemaker STE demo:
https://www.youtube.com/watch?v=jpXelwSNXqQ
by Eero Tamminen
Thu Nov 16, 2017 8:31 pm
Forum: Hatari
Topic: Symbol listing in Hatari debugger?
Replies: 24
Views: 629

Re: Symbol listing in Hatari debugger?

The reason why Hatari Python UI debugger part is so rudimentary is that I soon found out that making out-of-process GUI debugger which gets ASCII output through FIFO and parses that, isn't performant enough, and keeping changes on Hatari side in sync with Python GUI is too error prone. Supporting ev...
by Eero Tamminen
Wed Nov 15, 2017 12:26 am
Forum: Hatari
Topic: Hatari 2.0.0 has been released
Replies: 54
Views: 8873

Re: Hatari 2.0.0 has been released

Doing a file selector with plain SDL is pretty horrible, and the zip support makes the code even more awful update (I don't think anybody's enthuastic to touch it). I'd recommend getting the images out of the Zip and compressing them individually with Gzip. That produces smaller files than using Zip...
by Eero Tamminen
Mon Nov 13, 2017 11:13 pm
Forum: Hatari
Topic: Symbol listing in Hatari debugger?
Replies: 24
Views: 629

Re: Symbol listing in Hatari debugger?

If you're looking just for the name of a symbol, why not just press <TAB> instead? Readline TAB-completion gives you much more condensed list of (alpha-sorted) symbols: > address _<TAB> Display all 451 possibilities? (y or n) _Getcookie ___mpn_mul_n _atof _mt_appl_find ___PRETTY_FUNCTION__.3476 ___m...
by Eero Tamminen
Mon Nov 13, 2017 9:51 pm
Forum: Hatari
Topic: Symbol listing in Hatari debugger?
Replies: 24
Views: 629

Re: Symbol listing in Hatari debugger?

Done: https://hg.tuxfamily.org/mercurialroot/ ... d0dfa775f2

I just wonder why listing them in name order instead of address order is more expected. :-)
by Eero Tamminen
Tue Nov 07, 2017 11:27 pm
Forum: C / PASCAL etc.
Topic: Symbolic disassembly for gcc with -Wl,--traditional-format?
Replies: 21
Views: 804

Re: Symbolic disassembly for gcc with -Wl,--traditional-format?

ThorstenOtto wrote:
Eero Tamminen wrote:if it works fine, it push it to Mercurial.


Any doubts on that? I'm disappointed ;)


Well, I can't just push code untested, can I? There could be other changes that have broken your changes. :-)
by Eero Tamminen
Mon Nov 06, 2017 11:29 pm
Forum: Hardware
Topic: TOS: Now and When
Replies: 10
Views: 639

Re: TOS: Now and When

ijor wrote:There are many programs that don't run on TOS 1.04 in their original form.


Has anybody documented / listed them anywhere?
by Eero Tamminen
Mon Nov 06, 2017 11:28 pm
Forum: C / PASCAL etc.
Topic: Symbolic disassembly for gcc with -Wl,--traditional-format?
Replies: 21
Views: 804

Re: Symbolic disassembly for gcc with -Wl,--traditional-format?

Yes, I think so. Easiest is just to try it. :-) Btw. Thorsten just mailed "a.out" symbol format support to hatari-devel. I'll test it soon (and add same support also for the external tool), if it works fine, it push it to Mercurial. That should be really nice for debugging purposes. For pr...
by Eero Tamminen
Sun Nov 05, 2017 6:50 pm
Forum: C / PASCAL etc.
Topic: Symbolic disassembly for gcc with -Wl,--traditional-format?
Replies: 21
Views: 804

Re: Symbolic disassembly for gcc with -Wl,--traditional-format?

Where is the originating object file important at this stage? It's not (*). Linker map is just what EmuTOS project uses to convert the symbol information to format accepted by Hatari. (*) Unless you're missing symbols and you need to debug to which function some address might belong to. Then the ad...
by Eero Tamminen
Sun Nov 05, 2017 12:16 am
Forum: Games - General
Topic: Enduro Racer Progress update
Replies: 19
Views: 1332

Re: Enduro Racer Progress update

rj1 wrote:Nice that you included fps counter :) First Atari game to have this?


Some builds of Douglas' Falcon Bad Mood (Doom I/II rewrite) have had FPS counter.
by Eero Tamminen
Sat Nov 04, 2017 8:13 pm
Forum: Hardware
Topic: TOS: Now and When
Replies: 10
Views: 639

Re: TOS: Now and When

Any program that works only with TOS v1.00, will work only from floppies, which makes them quite annoying, when one has hard disk attached to ST. I know exactly one program (ST Quixx game) which requires TOS v1.00, which is not exactly a pressing reason to use TOS v1.00. Does somebody know any other...
by Eero Tamminen
Sat Nov 04, 2017 8:06 pm
Forum: Hatari
Topic: Good Setup For Magic 6?
Replies: 30
Views: 1468

Re: Good Setup For Magic 6?

Well, I try latest EmuTOS 0.9.8 and I'm not satisfied at all :( It's fast indeed, but can't save desktop configuration, can't start any of programs...pretty weird though... I thought that maybe is problem with permissions (I use Linux Mint), but, everything was OK. Of course I used EmuTOS 0.9.8 for...
by Eero Tamminen
Sat Nov 04, 2017 7:37 pm
Forum: C / PASCAL etc.
Topic: Symbolic disassembly for gcc with -Wl,--traditional-format?
Replies: 21
Views: 804

Re: Symbolic disassembly for gcc with -Wl,--traditional-format?

"nm" output is the ASCII format that Hatari debugger understands. As EmuTOS map2sym.sh script help says, its purpose is to covert linker symbol mappings file (a side-product of EmuTOS linking) to "nm" symbols format. Linker mapping includes also information about in which object ...
by Eero Tamminen
Sat Nov 04, 2017 7:26 pm
Forum: C / PASCAL etc.
Topic: Development
Replies: 1
Views: 140

Re: Development

Hatari debugger supports only DRI / GST debug symbols (the traditional Atari debug symbols format, not the Unix a.out format). From Hatari manual's "The debugger" -> "Debug symbols" section: The options you need to add suitable symbol table to your programs, depend on which toolc...

Go to advanced search