Search found 270 matches

by ThorstenOtto
Mon May 21, 2018 11:07 am
Forum: Hatari
Topic: Raspberry Pi baremetal port?
Replies: 49
Views: 2954

Re: Raspberry Pi baremetal port?

joska wrote:It will be simpler and boot quicker. So why not?


Simpler: definitely not (at least not for the developers of the emulator ;) Faster: maybe. The question is: how much faster, and is that worth the effort.
by ThorstenOtto
Sat May 19, 2018 4:40 pm
Forum: Coding
Topic: Number of colors
Replies: 19
Views: 1193

Re: Number of colors

As for the offset 54, I forgot to mention that I have checked biSize in the header and it was stating exactly 40 bytes If its only used for your testing code, with a specific test file, thats ok, but of course in your real program you can't rely on that. And if it goes for checking if the file has ...
by ThorstenOtto
Thu May 17, 2018 7:16 am
Forum: CT60 / CT63 Area
Topic: Possible to choose which FPU?
Replies: 4
Views: 205

Re: Possible to choose which FPU?

Just wondering if you can tell the 060 Falcon to use the 68882 fpu instead of its 060 internal FPU. Simply put: no. It's the processor who decides how to drive an FPU unit. 040 will use its internal version, 020/030 will use an external interface. Only thing you can do is to disable the internal FP...
by ThorstenOtto
Wed May 16, 2018 2:16 pm
Forum: Professionals
Topic: Memory protection in Mint
Replies: 15
Views: 675

Re: Memory protection in Mint

I didn't know there was a workaround. I will give it a try and see what happens. The problem is that there are a lot of applications not properly allocating the storage for things passed via AV protocol (or others). It's not even their fault, because the AV protocol was introduced long before MiNT ...
by ThorstenOtto
Tue May 15, 2018 3:16 pm
Forum: Games - General
Topic: PARCP ON WINDOWS 10
Replies: 6
Views: 419

Re: PARCP ON WINDOWS 10

Do you seriously expect someone to help when not including *any* information?
by ThorstenOtto
Tue May 15, 2018 11:16 am
Forum: C / PASCAL etc.
Topic: Retrieve application filename
Replies: 6
Views: 346

Re: Retrieve application filename

Yes, you should terminate your program with Ptermres() then, but of course not with a keepcnt (the first parameter) of 0. I do only one malloc in my program. When adding a cookie, you should also be prepared to enlarge the cookie jar, which involves mallocing a new area, and copying the old contents...
by ThorstenOtto
Mon May 14, 2018 2:50 pm
Forum: C / PASCAL etc.
Topic: Retrieve application filename
Replies: 6
Views: 346

Re: Retrieve application filename

tried to get the filename via DTA: What makes you think that the current DTA contains the filename of your app? If at all, it is the desktop that will use Fsfirst(), but it might at well use Dopendir(). And even if it is using Fsfirst(), you won't be able to retrieve the DTA of the desktop; the one...
by ThorstenOtto
Mon May 14, 2018 6:34 am
Forum: Coding
Topic: Number of colors
Replies: 19
Views: 1193

Re: Number of colors

From what I have read and understand about bmp file format, the palette for 8bit color images usually starts from byte 54 Usually maybe, but not always. BMP files consist of a 14 byte file header, a BITMAPINFOHEADER, the palette, and then the data. The offset 54 is only valid when the file has an o...
by ThorstenOtto
Sun May 13, 2018 6:57 am
Forum: C / PASCAL etc.
Topic: blit buffer to display, vro_cpyfm or vrt_cpyfm?
Replies: 10
Views: 595

Re: blit buffer to display, vro_cpyfm or vrt_cpyfm?

No, unfortunately not. That would only work if VDI would also scale the source bitmap up/down while blitting, but it does not (NVDI can do that if you add 0x8000 to the writing mode, but other VDIs cannot handle that; also it might look rather ugly). The source and destination rectangle should be of...
by ThorstenOtto
Sat May 12, 2018 6:09 am
Forum: C / PASCAL etc.
Topic: blit buffer to display, vro_cpyfm or vrt_cpyfm?
Replies: 10
Views: 595

Re: blit buffer to display, vro_cpyfm or vrt_cpyfm?

The first question is, should I use vro_cpyfm or vrt_cpyfm? If the buffer is monochrome, you should use vrt_cpyfm. That should work in all resolutions. But if you need colors, vro_cypfm is the only choice. Note that in this case the buffer must have the same format as the screen resolution, even if...
by ThorstenOtto
Thu May 10, 2018 5:06 pm
Forum: Coding
Topic: ray's lz77 and lz78 packer
Replies: 22
Views: 7279

Re: ray's lz77 and lz78 packer

I like lz77 because the depack routine it's very small, the problem it's that some files when I depack them I get a buffer overflow Which routines are you using? St-Guide for example uses a similar algorithm, and i've reimplemented them also for the viewer and the compiler, and never encountered su...
by ThorstenOtto
Thu May 10, 2018 10:42 am
Forum: News & Announcements
Topic: foss-north 2018: Atari ST Free Operating Systems
Replies: 51
Views: 3262

Re: foss-north 2018: Atari ST Free Operating Systems

See full Atari documentation there: http://hg.libsdl.org/SDL/file/d684a767e240/README.MiNT amongst others, it states: IKBD keyboard, mouse and joystick driver: 207 Available if _MCH cookie is ST, Mega ST, STE, Mega STE, TT or Falcon. That might be the problem when running dosbox on firebee, or aran...
by ThorstenOtto
Wed May 09, 2018 4:14 pm
Forum: Professionals
Topic: Porting PalmOS apps
Replies: 5
Views: 388

Re: Porting PalmOS apps

if it is an X app it might even run in X under Mint. Very likely, but i wouldn't recommend that. Although X works under Mint, it is awfully slow, and i think there are very few users which have it installed. XTide seems to have been ported already to Windows & MacOS (although not available on t...
by ThorstenOtto
Wed May 09, 2018 1:47 pm
Forum: News & Announcements
Topic: foss-north 2018: Atari ST Free Operating Systems
Replies: 51
Views: 3262

Re: foss-north 2018: Atari ST Free Operating Systems

I have no experience with developing with SDL on Ataris, but my impression when I test SDL based software is that keyboard handling is iffy in all of them. Most of this problems usually result from different keyboard layouts. Even when designed for the same region, PC and atari keyboards are just d...
by ThorstenOtto
Tue May 08, 2018 2:15 pm
Forum: Professionals
Topic: Porting PalmOS apps
Replies: 5
Views: 388

Re: Porting PalmOS apps

PeterS wrote:I have the GPL source to an old PalmOS application (TideTool 2.2).


Not really surprising, as it is publicitly available on that site.

Has anyone ever tried porting Palm stuff to GEM ?


No, but it might be easier to use XTide as a base instead. The Palm version is also based upon this.
by ThorstenOtto
Tue May 08, 2018 7:26 am
Forum: C / PASCAL etc.
Topic: Aegis Animator
Replies: 3
Views: 372

Re: Aegis Animator

PM might not work (yet), see viewtopic.php?f=28&t=16575
by ThorstenOtto
Mon May 07, 2018 11:26 am
Forum: C / PASCAL etc.
Topic: Aegis Animator
Replies: 3
Views: 372

Re: Aegis Animator

IIRC that was originally ported from Amiga? I could help with the Atari version, but i don't know much about Amiga.
by ThorstenOtto
Sun May 06, 2018 12:57 pm
Forum: Professionals
Topic: zDesk
Replies: 119
Views: 25350

Re: zDesk

calimero wrote:From where can be downloaded latest zDesk?


Maybe not the latest, but Miro has made the sources available at https://github.com/mikrosk/zdesk
by ThorstenOtto
Sun May 06, 2018 12:52 pm
Forum: News & Announcements
Topic: foss-north 2018: Atari ST Free Operating Systems
Replies: 51
Views: 3262

Re: foss-north 2018: Atari ST Free Operating Systems

That would have been great if it was correct, but at least here I'm not able to compile with 2.95 That might be true, i think 2.95 isn't supported anymore. But this is only a matter of the compiler version, not whether using native gcc or using a cross-compiler. PS.: all that discussion here seems ...
by ThorstenOtto
Sun May 06, 2018 6:54 am
Forum: Hatari
Topic: Raspberry Pi baremetal port?
Replies: 49
Views: 2954

Re: Raspberry Pi baremetal port?

What about to implement a direct KMS/DRM video, Alsa and event iface directly into aranym? :angel: You can try, but don't forget that Aranym does not only run on linux. Also, even on linux, directly using eg. alsa would badly interact with modern desktop setups where sound output is managed by some...
by ThorstenOtto
Sat May 05, 2018 6:20 am
Forum: Hatari
Topic: Raspberry Pi baremetal port?
Replies: 49
Views: 2954

Re: Raspberry Pi baremetal port?

ctirad wrote:[I've also made some experiments with my Khadas VIM (ARM S905X box), but all its standard roms are aarch64 and that would require to adapt aranym jit for that arch.


It's not really required, you can always use the normal version, i will just be a bit slower.
by ThorstenOtto
Thu May 03, 2018 3:55 pm
Forum: Hatari
Topic: Raspberry Pi baremetal port?
Replies: 49
Views: 2954

Re: Raspberry Pi baremetal port?

The SDL-port pointed to in the first post will help a lot - it will take care of graphics, sound, keyboard and mouse. Maybe i under-estimated that port, and should have taken a closer look ;) Of course a lot of the OS dependencies would be solved by that. But there's nothing "impossible" ...
by ThorstenOtto
Wed May 02, 2018 2:11 pm
Forum: Hatari
Topic: Raspberry Pi baremetal port?
Replies: 49
Views: 2954

Re: Raspberry Pi baremetal port?

TOS on the Milan is capable of accessing hardware not present in an ST because Milan-TOS has support for said hardware. Yes, as long as that TOS runs on a Milan. A TOS with appropriate hardware support will work on an emulator with hardware not present in an ST because support for this hardware wil...
by ThorstenOtto
Wed May 02, 2018 12:08 pm
Forum: Hatari
Topic: Raspberry Pi baremetal port?
Replies: 49
Views: 2954

Re: Raspberry Pi baremetal port?

TOS runs on the Milan, which has only one chip in common with the ST. It's "just" a matter of hardware support in TOS. Yes, but only a modified version of TOS. You won't be able to use that TOS version with emulators, because it is trying to access hardware that current emulators don't em...
by ThorstenOtto
Wed May 02, 2018 9:58 am
Forum: Hatari
Topic: Raspberry Pi baremetal port?
Replies: 49
Views: 2954

Re: Raspberry Pi baremetal port?

You can write a network driver that access the Raspberry Pi network controller itself. But only if at the same time, you also change the emulator to emulate that hardware. Hardware that does not even exists on a real ST. the emulator only has to provide access to the hardware. But that is not how e...

Go to advanced search