Search found 2421 matches

by ThorstenOtto
Thu Mar 16, 2023 11:31 am
Forum: News & Announcements
Topic: ScummVM/Falcon060 pre-release
Replies: 172
Views: 8485

Re: ScummVM/Falcon060 pre-release

but maybe MiNTLib fixed size block allocation sucks? There is a __mallocChunkSize() function in mintlib where you can atleast tailor the chunk size. It is not exposed in public headers, but i think has always been present. I use that in my own projects to increase the chunk size with large amount o...
by ThorstenOtto
Sat Mar 11, 2023 4:33 pm
Forum: 680x0
Topic: rasters fun
Replies: 34
Views: 1678

Re: rasters fun

In fact 0x90 address indeed refers toaccess in the middle of a complete instruction. It doesn't refer to an instruction, but to the *address* of your color_idx variable, instead of its value. For the assembler, that is the offset to beginning of your code. I'm sure there is a simpler way to put the...
by ThorstenOtto
Fri Mar 10, 2023 4:03 pm
Forum: 680x0
Topic: rasters fun
Replies: 34
Views: 1678

Re: rasters fun

The HBL runs at interrupt level 2, but TOS initially sets it to 3 -> you have to lower the interrupt mask.
by ThorstenOtto
Fri Mar 10, 2023 8:25 am
Forum: Professionals
Topic: X11 - Gdk-WARNING **: init_bw: failed to allocate colors, falling back to black and white
Replies: 11
Views: 2008

Re: X11 - Gdk-WARNING **: init_bw: failed to allocate colors, falling back to black and white

BTW is the port of gimp available somewhere? I would like to test some more complex programs than xclock ;)
by ThorstenOtto
Fri Mar 10, 2023 7:49 am
Forum: Professionals
Topic: X11 - Gdk-WARNING **: init_bw: failed to allocate colors, falling back to black and white
Replies: 11
Views: 2008

Re: X11 - Gdk-WARNING **: init_bw: failed to allocate colors, falling back to black and white

Just another question: when the server starts up, it tries to open U:\dev\xconout2 and runs the xconsole on it if that succeeds. However if it fails (eg. if Towsin2 has already opened it), it tries to execute /usr/bin/xcat instead. Does anybody know what that program is supposed to do, and where it ...
by ThorstenOtto
Thu Mar 09, 2023 5:30 pm
Forum: 680x0
Topic: rasters fun
Replies: 34
Views: 1678

Re: rasters fun

⁽¹⁾ Why correcting stack, as after the trap it's the supervisor stack which is used ? Since you are using Super(0l), the supervisor stack will be the same as your user stack. But even if you switch to a different stack, you have to do that correction, since the Super() call works this way, and adju...
by ThorstenOtto
Thu Mar 09, 2023 12:26 pm
Forum: Professionals
Topic: X11 - Gdk-WARNING **: init_bw: failed to allocate colors, falling back to black and white
Replies: 11
Views: 2008

Re: X11 - Gdk-WARNING **: init_bw: failed to allocate colors, falling back to black and white

Ah, that site was really useful. Setting the DISPLAY to 127.0.0.1:0.0 (instead of just :0 that i was used to) seems to do the trick. I also wasn't aware that it is also some kind of window manager, and i have to start that gwm first. Really nifty thing, it actually seems to be quite usable. Now i ha...
by ThorstenOtto
Thu Mar 09, 2023 7:36 am
Forum: Professionals
Topic: X11 - Gdk-WARNING **: init_bw: failed to allocate colors, falling back to black and white
Replies: 11
Views: 2008

Re: X11 - Gdk-WARNING **: init_bw: failed to allocate colors, falling back to black and white

Maybe a bit late to the party, but what X11-Server are you using, the one from the sparemint archive? I just gave it a try, and could not get it to work. It does not crash, but does not seem to start any programs like the window-manager.

I'm using freemint 1.19 (current snapshot) running in aranym.
by ThorstenOtto
Sun Mar 05, 2023 12:38 pm
Forum: Coding
Topic: ST Memory Map?
Replies: 11
Views: 585

Re: ST Memory Map?

In usermode, all those addresses generate a bus-error.

In supervisor mode, the read/write column of hardware.txt indicates whether the registers are readable or writable (there are a few exceptions to this though, depending on exact ST model).
by ThorstenOtto
Thu Mar 02, 2023 6:21 am
Forum: C / PASCAL etc.
Topic: New multiplexed terminal for Mint - mtm
Replies: 7
Views: 333

Re: New multiplexed terminal for Mint - mtm

I've recompiled ncurses now, with wide-char libraries supported. Note that it is otherwise the same version as before (somewhat older, from ~2017). mtm itself is also available now. Edit: i noticed some suspicious warnings when compiling mtm: vtparser.c:95:44: warning: passing argument 7 of 'v->cons...
by ThorstenOtto
Thu Mar 02, 2023 3:55 am
Forum: C / PASCAL etc.
Topic: libpng 1.6.37 (for Pure C)
Replies: 10
Views: 433

Re: libpng 1.6.37 (for Pure C)

That happens to me all the time. I'm always good at spotting other ppls faults, but at least as good as overlooking may own ones :)
by ThorstenOtto
Wed Mar 01, 2023 5:57 pm
Forum: C / PASCAL etc.
Topic: libpng 1.6.37 (for Pure C)
Replies: 10
Views: 433

Re: libpng 1.6.37 (for Pure C)

Or maybe you can post a snippet how you try to save to png, and an example image?
by ThorstenOtto
Wed Mar 01, 2023 4:04 pm
Forum: Hatari
Topic: Hatari GEMDOS and Frename()
Replies: 6
Views: 377

Re: Hatari GEMDOS and Frename()

Yes, linux behaves differently. rename("a", "b") will simply remove b if it already exists. So this is something that should be fixed in the Hatari GEMDOS emulation. One simple solution would be to use renameat2() with flags RENAME_NOREPLACE, but that function might not be availa...
by ThorstenOtto
Wed Mar 01, 2023 3:55 pm
Forum: C / PASCAL etc.
Topic: New multiplexed terminal for Mint - mtm
Replies: 7
Views: 333

Re: New multiplexed terminal for Mint - mtm

medmed wrote: Wed Mar 01, 2023 2:08 pm @Otto perhaps you can enable the build of ncursesw?
I can have a look.
by ThorstenOtto
Wed Mar 01, 2023 3:50 pm
Forum: C / PASCAL etc.
Topic: libpng 1.6.37 (for Pure C)
Replies: 10
Views: 433

Re: libpng 1.6.37 (for Pure C)

Can't remember where I found this library for Pure-C, Most likely from my shared-libs package ;) Not impossible that there are bugs with the PureC version, i mainly used this so far for zView, where it only loads images. Could be some 16bit integer overflow somewhere. Can you try the gcc version?
by ThorstenOtto
Wed Mar 01, 2023 9:44 am
Forum: Hatari
Topic: Hatari GEMDOS and Frename()
Replies: 6
Views: 377

Re: Hatari GEMDOS and Frename()

Eero Tamminen wrote: Wed Mar 01, 2023 9:08 am This is not mentioned in TOS hyp: https://freemint.github.io/tos.hyp/en/g ... ml#Frename
It's just the explanation that is misleading. TOS will return EACCDN if the file exists, whether read-only or not.
by ThorstenOtto
Mon Feb 27, 2023 8:43 am
Forum: C / PASCAL etc.
Topic: Using tmux with TosWin2
Replies: 10
Views: 518

Re: Using tmux with TosWin2

plus recompiled Toswin2 with the latest ncurses - Toswin2 is an emulator (for vt52 and partly vt100), and as such "knows" about the terminal capabilities, and doesn't use ncurses at all. Only text-mode oriented programs running inside toswin might be using ncurses. open terminal failed: n...
by ThorstenOtto
Thu Feb 23, 2023 11:41 am
Forum: Other emulators & tools
Topic: My PC viewer for Atari ST pictures.
Replies: 44
Views: 19872

Re: My PC viewer for Atari ST pictures.

If you only want to have a look at the pictures, there is also recoil: https://recoil.sourceforge.net/web.html
by ThorstenOtto
Thu Feb 23, 2023 8:19 am
Forum: GFA BASIC
Topic: Pure C & GFA 3.6TT
Replies: 9
Views: 726

Re: Pure C & GFA 3.6TT

Or use the -H option but then all functions will be compiled for parameter passing via stack - even the static ones you might have and that you do not export. That way you might lose a bit of speed. ... and also any library functions you may be using. So the -H option only works, if you don't use a...
by ThorstenOtto
Thu Feb 23, 2023 8:12 am
Forum: Other emulators & tools
Topic: MIDI on Aranym under Windows?
Replies: 5
Views: 387

Re: MIDI on Aranym under Windows?

Apart from telling which device to use, there is no specific MIDI support yet in aranym. And iirc, MIDI input isn't implemented at all.
by ThorstenOtto
Wed Feb 22, 2023 5:24 pm
Forum: GFA BASIC
Topic: Pure C & GFA 3.6TT
Replies: 9
Views: 726

Re: Pure C & GFA 3.6TT

The PDF ragnar linked above gives an example. You can also view the hypertext converted by lp, at http://tho-otto.de/hypview/hypview.cgi? ... &index=340
by ThorstenOtto
Wed Feb 22, 2023 6:00 am
Forum: GFA BASIC
Topic: Pure C & GFA 3.6TT
Replies: 9
Views: 726

Re: Pure C & GFA 3.6TT

If the routines are small (and don't need any external functions), you might also think about putting the code in inlines. That way you don't have problems with the linker, and you can also run them in the editor. The statement about using cdecl remains valid though. Otherwise Pure-C expects the par...
by ThorstenOtto
Tue Feb 21, 2023 4:20 pm
Forum: Professionals
Topic: BIGDOS thoughts...
Replies: 25
Views: 3086

Re: BIGDOS thoughts...

I think support for milan in EmuTOS was already discussed several times. The problem is that the hardware of milan is much different from other clones, and the interface that the milan-tos uses is not very well documented.
by ThorstenOtto
Sun Feb 19, 2023 7:24 am
Forum: News & Announcements
Topic: ScummVM/Falcon060 pre-release
Replies: 172
Views: 8485

Re: ScummVM/Falcon060 pre-release

I've recently created a standalone version of the c++filt program, extracted from libiberty/binutils. The attached archive just contains the sources needed for the filter. If you want to use that in Hatari (eg. as an option in gst2ascii), that should be possible now by just adding a few sources. The...

Go to advanced search