Search found 819 matches

by mfro
Mon Mar 30, 2020 11:24 am
Forum: Hardware
Topic: Falcon Troubles
Replies: 44
Views: 1683

Re: Falcon Troubles

didn't follow the whole thread, but did you try to reset the NVRAM already?
by mfro
Wed Mar 25, 2020 3:45 pm
Forum: Applications
Topic: Texel sources available
Replies: 70
Views: 5854

Re: Texel sources available

That pushes a byte on the stack, then pops a word. The 68k decreases the SP by 2 when pushing a byte on the stack, so this is essentially the same as shift left by 8. However, iirc this gives problems when run on coldfire. At least, for Pure-C, i'm using a patched version of pcstdlib.lib. Just theo...
by mfro
Thu Mar 12, 2020 12:32 pm
Forum: Applications
Topic: Program that Securely Overwrites Files on HD?
Replies: 2
Views: 339

Re: Program that Securely Overwrites Files on HD?

I do not know of a program that does this (maybe others?). I think there is a manual method that should do what you want if your security requirements aren't too strict (and if you invest some time): ⋅ delete all the files you don't want the buyer to see ⋅ create a file with arbi...
by mfro
Thu Mar 05, 2020 7:24 pm
Forum: C / PASCAL etc.
Topic: Project announcement: libcmini
Replies: 67
Views: 40169

Re: Project announcement: libcmini

Done. Binary release (0.51) can be found here:

https://github.com/freemint/libcmini/releases
by mfro
Thu Mar 05, 2020 7:10 pm
Forum: C / PASCAL etc.
Topic: Project announcement: libcmini
Replies: 67
Views: 40169

Re: Project announcement: libcmini

Count wrote:Maybe it's time for a minor release 0.51 since some significant bugs have been fixed since the last release.


Yes, why not. But we first need to make sure the CI processes work again.
by mfro
Thu Mar 05, 2020 4:28 pm
Forum: C / PASCAL etc.
Topic: Project announcement: libcmini
Replies: 67
Views: 40169

libcmini: now a member of the FreeMiNT github organization

If you miss libcmini - it's now here:

https://github.com/freemint/libcmini

integrated into the freemint organization
by mfro
Thu Jan 30, 2020 5:35 am
Forum: Coding
Topic: Cross Compiling GEMDOS program: how to read the content of a directory ?
Replies: 4
Views: 696

Re: Cross Compiling GEMDOS program: how to read the content of a directory ?

No, you should be able to safely include osbind.h only and call GEMDOS as usual. I do this even for programs with even less C library, not even libcmini. Check out https://github.com/simonsunnyboy/stlibs4gcc/blob/master/wizzcat/main.c It doesn't use Fsfirst() or so but Fopen and go to read files wi...
by mfro
Sun Jan 26, 2020 6:13 pm
Forum: Professionals
Topic: Converting graphics to screen format
Replies: 11
Views: 1038

Re: Converting graphics to screen format

Linux has something for everything ;) Virtually every Linux installation has the netpbm portable bitmap library and Imagemagick installed. convert will do the conversion from .png to .ppm, ppmtopi1 can convert from .ppm to .pi1 - will create a Degas picture. Unfortunately, there is no support for Fa...
by mfro
Fri Jan 24, 2020 8:59 am
Forum: Coding
Topic: "small footprint" C++ programs for STs?
Replies: 20
Views: 7953

Re: "small footprint" C++ programs for STs?

metalages wrote:About this to topic https://youtu.be/zBkNBP00wJE


That video was indeed part of my original motivation to test if libcmini could help reduce c++ binary's size. Glad that - thanks to Vincent's and others efforts - we do not need to translate x86 assembler into m68k :lol:
by mfro
Mon Jan 06, 2020 2:54 pm
Forum: Coding
Topic: Sunday riddle: TT-RAM speed oddity
Replies: 16
Views: 2137

Re: Sunday riddle: TT-RAM speed oddity

ThorstenOtto wrote:
mfro wrote:FireTOS translation tables are located in Fast RAM, improving ATC reload a lot.


That are two different things. The ATC is part of the CPU, and not located anywhere in RAM.


And the ATC is reloaded from where?
by mfro
Mon Jan 06, 2020 11:54 am
Forum: Coding
Topic: Sunday riddle: TT-RAM speed oddity
Replies: 16
Views: 2137

Re: Sunday riddle: TT-RAM speed oddity

The 060 has an improved MMU compared to the 030. And - if I'm not mistaken - FireTOS translation tables are located in Fast RAM, improving ATC reload a lot.

Nevertheless there might be another access pattern that enforces similar behaviour on the 060 as well.
by mfro
Mon Jan 06, 2020 10:52 am
Forum: Coding
Topic: Sunday riddle: TT-RAM speed oddity
Replies: 16
Views: 2137

Re: Sunday riddle: TT-RAM speed oddity

I don't think it can be done better. That would only be possible if the MMU would allow larger physical pages, but 32K is the maximum. BTW mint with memory-protection uses 4k pages. I don't think that this even needs to be done any better. What Christian did (unintenionally, I assume?), was enforci...
by mfro
Tue Dec 17, 2019 3:59 pm
Forum: C / PASCAL etc.
Topic: Does the 2 bytes alignment limitation on m68k-atari-mint creates performance hazard?
Replies: 21
Views: 2809

Re: Does the 2 bytes alignment limitation on m68k-atari-mint creates performance hazard?

Apart from that, due to the 16bit bus of a stock falcon, i doubt that this will change anything. He's using a CT6x as I understand. And with a 060, AFAIK, code should even be cache line (0 modulo 16) aligned for optimal performance. But I would agree that - at least for video heavy stuff accessing ...
by mfro
Thu Nov 21, 2019 5:04 pm
Forum: C / PASCAL etc.
Topic: Changing the text resolution (Graph?) mode and printing special caracters
Replies: 9
Views: 1478

Re: Changing the text resolution (Graph?) mode and printing special caracters

ThorstenOtto wrote:Only using VDI functions, but not through BIOS/GEMDOS character output.


Probably the appropriate answer to somebody apparently just beginning to code for the ST.

The *correct* answer would be: sure it's possible. Needs some tweaking of LineA variables.
by mfro
Thu Nov 21, 2019 7:47 am
Forum: C / PASCAL etc.
Topic: Changing the text resolution (Graph?) mode and printing special caracters
Replies: 9
Views: 1478

Re: Changing the text resolution (Graph?) mode and printing special caracters

Hi, What's the way to change the text mode resolution to some 80 (?) characters wide, and to print special characters like You cannot trigger a resolution change through printing characters, you'll need an XBIOS function, prefferably Setscreen(): http://toshyp.atari.org/en/Screen_functions.html#Set...
by mfro
Wed Nov 20, 2019 4:11 pm
Forum: Coding
Topic: [A]tari [G]ame [T]ools - 2D prototyping engine for STE
Replies: 107
Views: 56768

Re: [A]tari [G]ame [T]ools - 2D prototyping engine for STE

fvdi (https://github.com/jklockars/fVDI_from_0.958) contains sources for a tool (conv2gas) that can translate DevPac source files into gas syntax.

Not perfect (it can't cope with local labels, for example - which is a limitation of gas), but nevertheless quite useful.
by mfro
Wed Nov 20, 2019 4:02 pm
Forum: 680x0
Topic: Fastest way to copy a 256 colors sprite to a chunk buffer on 68060
Replies: 13
Views: 2054

Re: Fastest way to copy a 256 colors sprite to a chunk buffer on 68060

the 256 MB (Fast-) RAM in your Falcon is about x20 faster than the 14 Mb ST-RAM where your screen memory resides. Say you have a sprite 32x32x8 (1024 bytes) and 20% (204 Pixels = bytes) of it are transparent. Using your method, you'd write 1024 - 204 = 820 bytes to the screen. Nets up to 820 (slow) ...
by mfro
Tue Nov 19, 2019 6:48 pm
Forum: 680x0
Topic: Fastest way to copy a 256 colors sprite to a chunk buffer on 68060
Replies: 13
Views: 2054

Re: Fastest way to copy a 256 colors sprite to a chunk buffer on 68060

Depending on the architecture (ct6x?) and the nature of your sprites (how transparent they are), it might be faster to first copy the background into the "holes" of (a fastram copy of) your sprite. You might then be able to copy the result word- or even longword-wise to the screen, thus mi...
by mfro
Mon Oct 21, 2019 1:39 pm
Forum: 680x0
Topic: FPU Cookie TOS 1.04
Replies: 10
Views: 3000

Re: FPU Cookie TOS 1.04

ThorstenOtto wrote:You could use the same value that you previously used for the Mshrink call. The size must include the size of the basepage, text, data and bss of your program.


Strictly speaking, basepage size alone would probably be enough if you'd relocate the cookie into its p_cmdline field (128th byte onwards).
by mfro
Sun Oct 20, 2019 8:30 am
Forum: C / PASCAL etc.
Topic: Project announcement: libcmini
Replies: 67
Views: 40169

libcmini: new release 0.5

Thanks to diligent contributors (thank you), libcmini received some new functionality and bug fixes which deserve a release. You can find it at the usual place:

Git repository:
https://github.com/mfro0/libcmini

Combined Source/Binary release files:
https://github.com/mfro0/libcmini/releases
by mfro
Tue Oct 15, 2019 1:10 pm
Forum: Website Discussions
Topic: Editing a message
Replies: 93
Views: 18519

Re: Editing a message

I can't help but seeing just childish stubbornness. On both sides.
by mfro
Mon Oct 14, 2019 7:53 pm
Forum: News & Announcements
Topic: Do you think the limitation to RE-edit the messages in Atari-forum is appropriate?
Replies: 27
Views: 5675

Re: Do you think the limitation to RE-edit the messages in Atari-forum is appropriate?

Is there any national or international legislation for the "right to be forgotten", that is, if a user decides to end their participation in a discussion forum and asks the forum administrators that all their interventions be eliminated. There is. And - at least in theory - it's the same ...
by mfro
Mon Oct 14, 2019 2:21 pm
Forum: Website Discussions
Topic: Editing a message
Replies: 93
Views: 18519

Re: Editing a message

mfro: but this could be easily avoided - you just post "I have updated the original list with XY" and you get both - the first post containing all information + your "news entry" with notification. As for why to edit the first post, I can imagine a couple of reasons: 1.) it is c...
by mfro
Mon Oct 14, 2019 4:53 am
Forum: Website Discussions
Topic: Editing a message
Replies: 93
Views: 18519

Re: Editing a message

Contrary to what appears to be popular opinion, I personally belief that locking posts after a certain time - whatever the original targets might have been - is a good thing to have. Not so much because of the (potential) dangers someone would/could render answers to nonsense by modification of the ...
by mfro
Mon Sep 02, 2019 12:23 pm
Forum: Professionals
Topic: Extend the sound system for MiNT
Replies: 14
Views: 3579

Re: Extend the sound system for MiNT

... Firebee probably could do it, but it would require a lot of CPU time to do that ... The FireBee could easily do it (and much more), probably even without any noticeable CPU load. It has a fully AC97 2.0 compatible audio subsystem including mixer and the ColdFire µC even brings fully AC97 compat...

Go to advanced search