My whole development is done in Linux hosted, I’m used to it especially because when there is a tool missing in AROS I can use the Linux tools to do it. But the hosted is slow, what is not bad for development but also some bugs does not appear there.
So I tried to install a Icaros 2.03 DVD on an old Computer which is long time not in use anymore (AMD64 X2, 2 GB RAM, Nvidia 7900, e1000 network card) in short a deasaster, it simply does not work at all, it begins to boot, whatever i choose there or in BIOS nothing happens. who knows what wrong there. I have no clue and tried every tip I found in the net.
I got an old Laptop which is laying around long time already, the display is somewhat broken. (Dell Inspirion 640m, Intel Core, 1GB Ram, Intel graphics, Chipset Network). oho finally it works somehow. Even the native graphics and sound is working. So far the good news, bad news follow… and they are really bad. Network does not work at all, both network cards are not supported (also checked in the compatibilty list). I thought on the left side the slit is a old style PCMCIA slot (I have a lot such wireless and wired network cards), haha but I was wrong its an express card slot. So it seems I do not have any chance to bring this laptop to network with AROS 🙁 Maybe with an USB network card, but I don’t have such things and I have no idea which one would work.
nevertheless I decided to install AROS on it, just to play around and „feel“ the speed, migario told me that it should be a lot faster than hosted.
First the installation.. OMFG … ok calm down… the installer self is nice and work as expected good that it only asks at the beginning and then install without any more questions, I like that.
BUT… guys serious the installation time is out of discussion… after a while I just put the laptop to ground and let it run made other things on my desktop computer. It needs HOURS for sure, seems the position on the DVD is not optimized. I noticed already on the startup that the DVD reader head moves like a maniac… a little bit like the 3.5″ disks in the past. Maybe the positions on the DVD should be optimized for faster access.
Why it needs so long… ok first it copies everything from the live DVD to the HD, the HD is ultra fast so thats not the bottle neck (boot up after installation is done in less than 5 seconds).
But this hundrets of very tiny files really slow down it very much. Especially the catalog files for every program and AROS and for AROS68k. this could be optimized a lot… PLEASE only install my language catalog files and english as fallback… PLEASE do not install all catalogs… also on 68k emulation side. (which is useless for me either). Maybe it would be better to move all this little files to a zip folder and unpack them directly onto the harddisk.
This redrawing bugs on the installer and zips unpacking…. looks very bad.. but OK I know them already, missing Zune feature of redrawing window when a dialog or so is open. I struggle with it in LCL as well.
The installation is over… but no hint what to do now.. reboot hmm ok but how (I would prefer the installer asks me directly and do it if I agree)
(and menu quit quits only dopus and not resets the computer, must click on this icaros eye and then choose Exit)
But ok after the installation it boots very fast as stated already. really nice… the sound works wow, even this sample sounds a little bit like disturbed (I checked on linux its in the file).
I tested with Shift_it_GL (which is sadly not included), nice GL acceleration works 🙂 its incredibly fast.
I played around with some of the tools installed. (why the icons on the harddisk are so „unsorted“ some even overlay which each other, and big holes, no clear ordering, especially the SYS: root folder)
Audio evolution: Guys what is that? Program open, asks me for Audio hardware… ok there is only one to choose, and underneath a slider Frequency with no numbers or so, what it does, I have no idea. The program opens… I would like to open an example project to play with it…
„Welcome to Audio evolution!“ the window say, Start new, load, load recent… but the recent is a project in RAM: which is of course not there. Load a project (I would expect it lands in a project folder maybe with example project) but nothing… how bad.. too lazy to search for its folder.
I searched a little bit around (also on the search for freepascal 😛 ) And found it in Extras/Development/Languages/fpc The fp-ide starts and work nicely… BUT seems the pathes in fp.cfg or fpc.cfg are not set properly… it can not find the Exec unit. I’m not sure whats wrong there the units are there the fpc.cfg looks good. maybe later I check again. Compiling from shell works well.
in Development tools is a C IDE, Murks… I also tried this one on startup looks nice (even I do not like this huge icons, but thats only my personal view)
Open project….. ARGH requester in RAM: .. guys..seriously… but I’m really interrested and know where its folder is so navigate to there and hey there are also examples… CHelloWorld.dev 😀 good that is what I’m searching for. Open it main.c in the list, click on click on it, the well known C hello world source… nice, now lets rock, compile it. big fat „Build“ Button. and…. guys… seriously whats that… „gcc: object not found“ …. I even do not found settings to set a path to gcc only project options. Sorry I stop here.
Finally I tested some of my programs especially EdiSyn (transfered with USB stick, worked very nice gratulation to this one). and really the tab open, scrolling and so on is FAAAAAST really nice, even size change with Opaque on looks not so bad, ok it flickers a bit, but the window decoration of the windows (all windows) flickers also like hell, most visible around the close button and scrollbars. So it is not only my problem 😛
As conclusion I would say… it is nice… but needs a lot more polishing, I would prefer less programs better sorted and WORKING, best with set (at least one) recent files, which are there and useable to play.
The new EdiSyn is out, Version 0.40.
Most important features should be the configuration possibility for the SynEdit control, inclusive Color selecting for Highlighter, and shortcut preferences.
The highlighter colors are saved in separate files.
- ADD: Preferences Dialog
- ADD: Key binding Dialog with Key catcher
- ADD: Highlighter Color selection Dialog
- ADD: New tab on every open
- ADD: Tab Navigation ShortCuts
- FIX: Faster New Tab
- FIX: Drawing improvement
- FIX: Menu Items Memory leak
- FIX: Canvas Memory leak
- ADD: Easter Eggs
Download at EdiSyn Page

For the step of EdiSyn I will need a working color requester, the ASL does not supply one so I have to create one for myself. Not a big thing actually, just create a new local MUIApplication (I was not sure this is even possible to create two of them in the same process, but seems no problem until now) a Window with two buttons and the Palette object.
Again meet this strange MUI color needs 32 bit value for each color, but the requester only counts from 0..255. So its working nicely. The presets colors I cannot use currently, maybe later someone has fun to add another little panel with this colors and events to set them to the palette event. Currently its not that important I would say.

On the left side much space is wasted, it seems to be meant to change some pens at once, not only one as I need, but its working.
I also did a little bit research about the redraw problem if an ASL requester (or this one) is open, and hey the creators of MUI also thought to this problem, and there is a solution for it AROS MUIM_Application_CheckRefresh….. sadly its is not implemented in AROS, it does simply nothing.
Last days I didn’t have much time to work on EdiSyn, much other things to do. And played little bit too much with the contents of the About box which should be introduced *shame on me*.
I added a smooth text scroller, seems magorium had the same idea and made crossfader. hmm both is nice, so I included both for the new release.
Besides this I got an idea hoe to slove some of the loop Notify problems. I also got a crash report, seems also related to the loop notify thing. Two things to reduce the notify loops: 1. Check if the value is changed, and only send to MUI if it has changed. 2. Block the Event if the Value is set by the interface. This should reduce the loop notifies and maybe the crash as well.
An other thing I noticed, seems I had a BIG memory hole in the code when drawing transparent Images to Canvas. The Canvas did no destroy the rastport/bitmap which was created if this Canvas is a free floating canvas, so not connected to a window/widget.
So here is a new release with some bugfixes and little improvements
EdiSyn 0.33
News:
- FIX: Beep also when searching backwards (Shift F3)
- ADD: Warn if a file is already open in the editor, jump to this tab
- ADD: Show full path in Window title.
- FIX: crash for un/checking TRadiobox
- ADD: About Box
Download at the EdiSyn Page

Some tiny improvements for EdiSyn:
- ADD: Bookmarks (Ctrl + Shift + 0..9 for set, Ctrl + 0..9 for jump to bookmark) in the picture Bookmark 5 is set.
- ADD: Bookmark bar can be switched on/off
- FIX: Crash when close a Tab via key removed (Focus issue)
- FIX: Better/faster creation of new Editor pages
- CHG: Show only every 5th line number, looks not so crowded
- FIX: TabStop setting for Replace Dialog (use tab from search to Replace edit field)
- CHG: Use MUI Requesters instead of EasyRequest -> looks nicer and the Window behind gets redraw events.
Download: EdiSyn 0.31

Woah, this winapi things in LCL is really crap sometimes… especially when it comes to doubled functionality. Exactly this is what I hit when I use Scrollbars. A single Scrollbar was easy to implement just some position conversation needed. I thought now all scrollbars would work… meeep … wrong, of course, the two fixed scrollbars for other wincontrol you have to implement separately. 🙂
Need me some hours to figure out how this work. and make it possible, now it pays that I made the Objects for the MUI classes so open, easy to reuse of „other“ purposes, for example this scrollbars. Works rather nice already, the biggest problems are always the loop notify calls, or what MUI think is a loop. If I move the scrollbar very fast.. its not a loop notify.. but just again changed in the time the event fired… so position gets a new value.
The caret problem was much easier than I thought. The caret is directly drawn to the Canvas, outside an Paint event. I noticed there is a variable to fire an invalidate instead of paint it. And voila, some other (QT, GTK) seems also need this event because not allowed to draw outside paint event.

Synedit with Working scrollbars
Finally there is something to see in the Synedit control.
Last week I managed to get the lcl so far that it does not crash anymore when there is a synedit inside the window. But there was no drawing at all. Now I traces some deeper into the paint routine of it and manage to let it draw. Many of the WinAPI calls needed were just not implemented in the AROS LCL. A Big step towards a Lazarus at AROS.
It’s not completely working, but you can move the cursor (visible when you hit a begin/end -> Highlight of both) and you can fold/unfold pats of the source by clicking on the boxes on the left side.
The Caret is now shown, I guess due to XOR things missing and typing does not work, which is a little bit strange, the events are there and fired, in the games they are working nicely and the cursor keys work.

SynEdit Control in AROS
I worked a little bit more on the ImageViewer „APict“ included Zooming and Move with Mouse/Scrollbar, fixed a lot of bugs in my LCL code. Especially the scrollbars was hard to understand, because the MUI scrollbar and the LCL Scrollbars work a little bit different -> need to convert the Positions/Pagesize/Min/Max.
The Result works very nice now, this could really a very helpful tool for me, (even at Windows/Linux) to sort my files. My Plan is to insert some file functions also (delete or copy/move the currently viewed File to an other Folder, this is what I miss in most other image viewers)
At the moment the image loader is rather slow, but I remember I found faster routines in the web maybe later I give it a shot, or make some clever „preload“ of next image.
Download:
APict 1.1 for i386-aros
Source again available at GitHub
Some years before I played around with raytracing a little bit. I was amazed that this old source just compiles at AROS and work 😀
As long I’m working very much with images at the moment and the internal tools of AROS seems to have some problems with some special BMPs I wrote a little own Image Viewer for me (a little bit with IrfanView in mind)
At the moment I only opens BMP, ICO, JPG, PNM, PNG maybe later will add some more, I remember I had a very nice image library which compiles out of the box on AROS, could be used then for TIFF/TGA and so on as well (maybe even IFF?)

Until now it is no AROS specific things inside, but maybe would be a nice thing to make an example Datatype loader in pascal language. But atm for my needs this is more than enough to fast browse through my images saved in one debugging session
APict 1.0 for i386-aros
Source again available at GitHub