Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
125 user(s) are online (74 user(s) are browsing Forums)

Members: 0
Guests: 125

more...

Support us!

Headlines

Forum Index


Board index » All Posts (joerg)




Re: New modern Webrowser Quasar
Home away from home
Home away from home


@Maijestro
Quote:
Short version of what happened: I ripped out Cairo and switched everything over to Skia,
Moving from Cairo to Skia was my main goal for further OWB development, but 15-20 years ago, without the AI support you can get now, it was next to impossible.

Go to top


Re: Sam460 scandal Kernel issue
Home away from home
Home away from home


@LiveForIt
Quote:
Don't ask where in the OS this legacy issue exists, it's most likely wort to break programs
In AmigaOS <= 3.9: exec.library AllocEntry(). The OS itself was using it.
In ExecSG this function is depreciated and not used at all in the kernel, nor by any other system parts like dos.library.

There is probably very few, or even none at all, ancient m68k software using AllcoEntry(), unless it was used in a C library like the DICE C library, etc., for it's malloc implementation.
There should be no AmigaOS 4.x/PPC software using IExec->AllocEntry() since you get compiler warnings or errors when trying to use such depreciated functions.

The only reason there is a 2 GB RAM limit in AmigaOS 4.x is that the upper 2 GB are completely reserved for virtual=physical mapped PCI(e) address space (and maybe some other small parts like U-Boot variables), instead of simply adding the unused parts of it to the memory regions usable by the memory and page allocators after all PCI(e) configuration is done.

Go to top


Re: Clib4 v2.5 and Odyssey 3.1
Home away from home
Home away from home


@NinjaCyborg
Quote:
Does that really work?
No.

Quote:
On 68k you'd clash the romtag names and only the first one loaded would be returned for all OpenLibrary calls hence.
It's the same on AmigaOS 4.x (romtag name + major version number, if the requested version is higher than the current one it's removed and reloaded, but not for different revision but same version numbers), and additionally unlike on AmigaOS 0.x-3.9 using "Avail FLUSH" or similar to force executing the low-mem handlers, incl. the ramlib one which removes unused libraries from RAM, doesn't help as it's a no-op on AmigaOS 4.x.

Go to top


Re: In the end, it was born: ARia OS4
Home away from home
Home away from home


@afxgroup
Quote:
Unicode everywhere. Text is UTF-8 from the kernel up: file names,
Of course my OS4 SFS port supports and ausumes UFT-8 file/dir names since more than 20 years already.
However, all other OS4 developers, except for Detlef (locale.library incl. UTF-8 based catalogues for translations, diskfont.library, ft2.libray, utility.library, etc. for Unicode conversion and font rendering) ignored it 🤷

Go to top


Re: AmiWest 2026
Home away from home
Home away from home


@Ami603
Quote:
I'm a little sad that the first AmigaOne who had a dual core cpu has to be the last to be supported
I very much doubt the AmigaOne XE with dual G4 CPU module, not 1 CPU with 2 cores but actually 2 CPUs with 1 core each, will ever get supported, no mater if ExecSG or ARiaOS4.
There were only a few prototypes, but more then 20 years ago there were dual CPU AmigaOne systems already

Go to top


Re: Blender 5.2.2
Home away from home
Home away from home


@kikems
Quote:
the ~1.8 GB address space
About 3-3.5 GB on AmigaOS 4.x, depending on how much physical=virtual 32 bit mapped PCI(e) address space is required, especially for the gfx card VRAM.
The old 2 GB limit of AmigaOS <= 3.9, caused by the obsolete exec AllocEntry() function, doesn't exists in AmigaOS 4.x.

But even 3 or 3.5 GB RAM is way too few for a lot of current software, incl. most web browsers, no matter if Chromium/WebKit or FireFox based, office software, blender, etc.

Go to top


Re: New multi-core kernel for AmigaOS 4 shown at Pianeta Amiga!
Home away from home
Home away from home


@Georg
Quote:
Assuming SysBase->DispCount contains task dispatch count in AOS4 (like it does in AOS Classic)
It probably doesn't, private data of the task scheduler is AFAIK either in one of the SysBase->Private* fields or after EmuWS, but in any case not documented in public includes.
All important counters are uint64, with more than thousand task switches per seconds, which isn't a rare case at all on AmigaOS 4.x, especially when using obsolete software like DosPacket based file systems, 32 bit counters overflow way too soon.
Should be the same for TDNestCnt in struct Task, unless updating it was added for compatibility to some old m68k software, but even if it was the real ExecSG data is in the undocumented struct ExtendedTask (Task->tc_ETask) instead.

Comparing the ExecSG task scheduler with the ones of AmigaOS 0.x-3.9 doesn't make much sense, they are way too different.
Simple example: The ExecSG task scheduler crashes if there is no ready task as this case was never implemented

Go to top


Re: New multi-core kernel for AmigaOS 4 shown at Pianeta Amiga!
Home away from home
Home away from home


@Georg
Quote:
Are you sure? Permit() really should only trigger reschedule if one is pending. Like when another task was Signal()ed while in Forbid state.
In AmigaOS 0.x-3.9 and maybe AROS, but ExecSG isn't based on any old AmigaOS exec sources (there were none anyway, only useless m68k asm code) nor did it try to re-implement it 1:1.
A lot in ExecSG is very different to older exec versions, incl. the task scheduler.

Quote:
Otherwise for example each and every ObtainSemaphore() call would trigger a reschedule, because I guess also in AOS4 it still is implemented using Forbid/Permit protection (no matter if slow or fast (uncontended) path).
No idea how the old signal semaphores are implemented in ExecSG, and Procure()/Vacate() is probably not supported at all. Maybe they are, at least partially, based on Mutexes instead.
The IExec->Mutex*() functions aren't based on Forbid()/Permit() but on PPC atomic instructions.

Go to top


Re: New multi-core kernel for AmigaOS 4 shown at Pianeta Amiga!
Home away from home
Home away from home


Quote:
Forbid/Permit is something that no one needs to use anymore
Next to nothing needs m68k exec Reschedule() nor the OS 4.x Forbid()/Permit() workaround, but in some very rare cases it could be required.

Quote:
Not all modules
Some kickstart modules have more than one entry point (struct Resident), and it's not just rt_Pri but the rt_Flags are important as well: First all kickstart modules with RTF_SINGLETASK are started, some like expansion.library even before exec.library, then all "normal" ones, and last the ones with RTF_AFTERDOS. All 3 groups are sorted by rt_Pri.

Go to top


Re: New multi-core kernel for AmigaOS 4 shown at Pianeta Amiga!
Home away from home
Home away from home


@afxgroup
Quote:
Step 4: scheduling and Reschedule()
AmigaOS exec has Reschedule()
The task scheduler in AmigaOS 0.x-3.9 m68k exec did have a Reschedule() function, but the one in ExecSG doesn't.
There is a IExec->Reschedule() function for compatibility to old m68k software calling it, but IIRC it's an empty no-op function and if you need something like that the required workaround on AmigaOS 4.x is for example
IExec->Forbid();
IExec->Permit();
which triggers a reschedule.

Quote:
Step 6: the Kickstart at boot

The kernel also starts the Kickstart modules in the order the Kicklayout gives.
That would be incompatible to any AmigaOS version, 0.x-3.9/m68k as well as 4.x/PPC. Kickstart modules are executed in the order of their struct Resident rt_Pri.


Edited by joerg on 2026/10/11 14:24:47
Go to top


Re: New modern Webrowser Quasar
Home away from home
Home away from home


@samo79
Thanks, but it's useless.
I completely forgot that current web browsers can't use AmigaOS 4.x diskfont/ft2 font rendering any more since they need colour outline font support, for example for emoji. Some use it for UI parts as well.

diskfont.library and ft2.library only support b/w fonts (8 bit alpha).

Go to top


Re: New modern Webrowser Quasar
Home away from home
Home away from home


@Georg
Quote:
I'm not sure what you mean with native font rendering. But you still used freetype2 because the ~native AOS4 font engine (bullet "standard") "ft2.library" is using freetype2. So freetype2 is used either way, either directly by app or indirectly through AOS font engine.
The AmigaOS 4.x ft2.library is based on libfreetype2, but Detlef added several improvements to it, especially glyph cache and sub-pixel rendering related, making ft2.library on graphics.library bitmaps much faster than using libfreetype2.(a|so) (+fontconfig, which is extremly slow) on cairo or SDL surfaces.
Both fontconfig and the AmigaOS 4.x TTF library need a disk cache, and creating it is very slow. The difference is that the AmigaOS 4.x method creates it when a new font is installed (using TypeManager), for a single font, while fontconfig (re)creates it for every software using it separately on it's first start and for all TTF fonts installed.

Go to top


Re: Vote/suggestions for the software and game reimplementations
Home away from home
Home away from home


@jabirulo
Quote:
For "resource" I mean CDFilesystem kicklayout/handler.

Usikng AmiDVD 1.54 ( 9-10-2023) licenced to A-EON Technology Ltd

With ODFileSystem from os4depot/github and in BURN IMAGE I get an empty "Drive" chooser, so don't know how you get/fill that list, but with ODFilesystem (works fine under OS4, can read many CD/DVD formats) it doesn't show any "CDx: blah blah" entry on "Drive" chooser.
I never used ODFileSystemm, but AmiDVD may depend on the CD/DVD/BlueRay file system using DOSType "CD01" (shortcut for "CD001", which is the official ISO 9660 FS identifier, but AmigaOS DOSTypes are limited to 32 bits, 4 chars).
All AmigaOS CDFileSystems I know of, the commodore CDTV/CD³² based ones, as well as any 3rd party ones like CacheCDFS (incl. the AmigaOS 3.9 version), AmiCDROM, AmiCDFS, AsimCDFS, BabelCDFS, etc., are IIRC all using the same DOSType "CD01".

If it's not related to that:
Which PATA/SATA/SCSI/etc. device driver are you using? An incompletely implemented one could cause problems as well.
I only tested, or had beta testers testing it for me, AmiDVD with sg2's PATA/SATA/SCSI drivers (a1ide.device, peg2ide.device, sii0680ide.device, sii3112ide.device, sii3114ide.device, sii3512ide.device, lsi53c8xx.device, etc.) and Ignatio's NetBSD based SCSI driver (cbyppc.device).

Go to top


Re: New modern Webrowser Quasar
Home away from home
Home away from home


@samo79
Quote:
Yeah, fonts on your old Origyn Web Browser had also a nicer look, where we can found the source?
All of my AmigaOS 4.x parts were on the Pleyo OWB SVN.
That doesn't exist since several years anymore, but the author of the AROS OWB port who, unlike the MorphOS OWB developer, uploaded all of his changes to the Pleyo SVN as well may still have a copy of those sources.
I don't have the complete OWB sources anymore, all I have on backups are diffs of my latest changes to the OWN SVN, and the sources of my AmigaOS 3.9/m68k port which doesn't include the AmigaOS 4.x-only AmigaOS native font rendering functions: The bullet.library from AGFA Compugraphic used in AmigaOS 2.1-3.9 was way too limited compared to Detlef's AmigaOS 4.x outline font engine.

Go to top


Re: New modern Webrowser Quasar
Home away from home
Home away from home


@Maijestro
Quote:
Fonts via fontconfig, PROGDIR:Fonts/WkSans.ttf, plus SYS:Fonts
I guess libfreetype + fontconfig?
Why?
I implemented AmigaOS 4.x native font rendering in OWB nearly 20 years ago already and it was at least 10 times faster than using libfreetype2. All of it open source of course, in Pleyo's OWB SVN.

Go to top


Re: Vote/suggestions for the software and game reimplementations
Home away from home
Home away from home


@jabirulo
Quote:
Does it need/use CDFileSystem resource?
I don't know what CDFileSystem resource is. It didn't exists in my AmigaOS 4.x port of CDFileSystem, which can't be used by Hyperion any more.
Quote:
'cos with new beta CDFS doesn't worlk
Maybe it's a backport of the AmigaOS 3.2/m68k CDFileSystem (unlike the 3.1.x one not based on Costel's illegally distributed copies of my sources)? I don't know anything about that.
AmiDVD doesn't use nor need anything from any CDFileSystem, it's completely independent code and should work with any AmigaOS ISO9660 FileSystem, not only the CDTV/CD³² based CDFileSystem used in AmigaOS 3.1/4.0 but the CacheCDFS used in AmigaOS 3.5/3.9, and any other one like AmiCDFS, AmiCDROM, etc., as well.
The versions of AmiDVD included in Hyperion's AmigaOS 4.1 FE and update releases without permission intentionally doesn't work, you need the AmiDVD version from Enhancer Software instead.

Or use something completely different instead, AFAIK FryingPan is open source now.

Go to top


Re: Vote/suggestions for the software and game reimplementations
Home away from home
Home away from home


@Crumb
Quote:
Once Afxgroup releases his new kernel would you work on a Mac Mini flavour? I think many users still dream about "Moana".
I can't work on anything kernel, or OS4 in general, related because of the NDA I singed and since I had access to the complete OS4 sources.
Moana was never in the OS4 sources BTW, that was something done by a single OS4 developer, without permissions from anyone involved.
OTOH since Hyperion still sells (software based on) pirate copies of my software, both in AmigaOS 4.1 FE/PPC and any updates of it, as well as in AmigaOS 3.1.x/3.2 m68k, I might ignore that some day as well, just like Hyperion ignores any contracts and licences ...

Go to top


Re: New multi-core kernel for AmigaOS 4 shown at Pianeta Amiga!
Home away from home
Home away from home


@sofistisoftware
Quote:
Using of `Clib2` become mandatory nowadays, otherwise porting programs from other systems becomes a nightmare...
Using clib2 with it tons of bugs would be a nightmare
Anything is better than clib2, even libnix, which I ported to OS4 and used for all of my AmigaOS 4.x software before I ported newlib. The vclib C library is better as well if you use VBCC instead of GCC.
@afxgroup's clib4 will probably get usable some day, or maybe even already is, but the original clib2? Avoid using it at all costs on AmigaOS 4.x.

Go to top


Re: New multi-core kernel for AmigaOS 4 shown at Pianeta Amiga!
Home away from home
Home away from home


@afxgroup
Quote:
Something is happening..

https://ko-fi.com/post/Quarantine-Mode ... rograms-in-a-u-K3V228CG2E
Additionally to the obsolete, AmigaOS 0.x-3.9/m68k **4 way to get SysBase next to no AmigaOS 4.x software uses, other things you wrote are wrong as well, for example
Quote:
AmigaOS 4 runs everything in supervisor.
No, it doesn't.
All normal programs and tasks are running in user mode.
99% of the ExecSG kernel is running in user mode as well, only some tiny parts of it requiring it (accessing privileged special registers, MMU changes, exceptions, probably the task scheduler, etc.) are running in supervisor mode.

However, there is nothing in ExecSG preventing anything from executing some code in supervisor mode using IExec->SuperState()/IExec->UserState() or IExec->Supervisor().
And some software you might not expect to use supervisor mode could do, for various reasons. Hint: Make sure not to have any SFS partitions mounted when testing your quarantine mode

Go to top


Re: New multi-core kernel for AmigaOS 4 shown at Pianeta Amiga!
Home away from home
Home away from home


@afxgroup
Quote:
Something is happening..

https://ko-fi.com/post/Quarantine-Mode ... rograms-in-a-u-K3V228CG2E
Quote:
Every AmigaOS program and module finds the system the same way:

SysBase = *(struct Library **)4; /* read the pointer at address 4 */
IExec = SysBase->MainInterface; /* and from it, the exec interface */
Wrong, no sane AmigaOS 4.x software does that (unless it's using a crap C library like clib2).

The correct way on AmigaOS 4.x to get SysBase is from the _start() arguments:
_start(STRPTR args, int32 length, APTR execbase);
That includes any software using newlib.library.

In kickstart modules, libraries, devices, resources, etc. there are different ways to get SysBase and/or IExec, but it's never based on **4 in correctly written AmigaOS 4.x software.

Check the dos.library CreateNewProc(), RunCommand(), System(), etc. autodocs.
Each program gets the same SysBase from dos.library.

Go to top



TopTop
(1) 2 3 4 ... 112 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project