Recent Posts

Pages: [1] 2 3 ... 10
1
News / Re: Icarus anyone?
« Last post by 4pLaY on July 02, 2022, 05:53:53 PM »
Has anyone been successful in installing ICAROS?  I've three old laptops and my main machine (which is now 12 years old) and none of them could use the .iso DVD.  I burned it in both Windblows and Ubuntu Linux and although the DVD is accessed during boot up - it obviously fails to start up.  The three laptops all use BIOS - the main machine does have a UEFI, so I'm not surprised that it doesn't work - but the laptops are all DELL models between 8 and 12 years old.  <sigh>  I was kind of hoping to develop outside of AmigaForever - which does an excellent job, but I'd like to make use of a wider screen and more modern desktop.

I guess you mean Icaros :). In that case, you want to check out ae.amigalife.org which is the forum dedicated to aros :).
2
News / Icarus anyone?
« Last post by Star Dad on July 01, 2022, 08:17:26 PM »
Has anyone been successful in installing ICAROS?  I've three old laptops and my main machine (which is now 12 years old) and none of them could use the .iso DVD.  I burned it in both Windblows and Ubuntu Linux and although the DVD is accessed during boot up - it obviously fails to start up.  The three laptops all use BIOS - the main machine does have a UEFI, so I'm not surprised that it doesn't work - but the laptops are all DELL models between 8 and 12 years old.  <sigh>  I was kind of hoping to develop outside of AmigaForever - which does an excellent job, but I'd like to make use of a wider screen and more modern desktop.
3
Introduction / Hello from 1987
« Last post by Star Dad on July 01, 2022, 08:11:10 PM »
Just thought I'd drop by and say hello to you all.  I see no one has posted here for 4 years - so I might as well.  I'm a long time Amiga fanatic - having bought (with a friend) the first two Amigas in the Northeast USA.  I'm a developer - and in the last year I've rediscovered the Amiga and I'm working on a couple of projects using AmigaForever and WB 3.1.  What a joy to work on a machine that doesn't have dozens of layers of routines to do the simplest things.  Cheers and best wishes! :)
4
General / vAmiga for OS X
« Last post by Astrofra on May 01, 2021, 02:33:49 PM »
Hello,

I am opening a topic on vAmiga here, having seen very few mentions of this emulator on the Interwebs:

https://dirkwhoffmann.github.io/vAmiga/

I found this emulator when I acquired a Mac M1 (the new Apple models with OS X on ARM64) and I was searching for an alternative emulator, as I was not really enthusiastic about the GUI of FS-UAE.

vAmiga has just been released in v1.0, it was in beta until then, but quite stable already. It emulates the OCS machines only, but a lot of work was done on the emulation accuracy, which may be approaching that of UAE.

A significant number of visual debugging features are also available, such as memory usage, DMA channels, and so on ( it' s really close to the visual debugger of WinUAE, almost more user-friendly):





The performances are pretty good (especially for a laptop ARM host machine) and the graphical rendering can be tweaked with the help of filters, for a more vintage vibe:



which gives this kind of result ( you either like it or not, but it must have been some hard work to get there) :



So here are my first impressions about this new emulator, that I wanted to share, to encourage all these cool projects around our beloved machine :)
5
News / vAmiga 1.0 Beta 1
« Last post by Astrofra on May 01, 2021, 02:17:38 PM »
vAmiga emulates a Commodore Amiga 500, 1000 or 2000 on your Mac, either on Intel or ARM architecture.
It has proven to be pretty stable by now and was bumped from v0.9 to v1.0!

https://dirkwhoffmann.github.io/vAmiga/

Download the latest version.
6
Application Development / Re: Athanor 2 - an adventure game
« Last post by Astrofra on May 01, 2021, 10:18:06 AM »
Ladies & Gentlemen, Boys and Girls, People, Folks, here is a pre-release video of the (soon to come) Amiga OCS Version of ATHANOR 2 - The Legend of the Birdmen :


8
News / New mod "RetroRulez"
« Last post by Dissident on January 08, 2021, 10:46:33 PM »
Hi, for those of you who like early 80s retro style mods here's my revised version of "RetroRulez".  I've uploaded it here: https: https://www.youtube.com/watch?v=VKv_ieMSaH4&list=PLrYSM1C3l5LzaZA3kCep81rDwLh00ruYh
9
Application Development / Re: Athanor 2 - an adventure game
« Last post by Astrofra on December 18, 2020, 08:20:09 AM »
GUI Stuff

For some various reasons, I needed a somehow generic GUI toolbox in Athanor, but being not super fond of the look of the OS GUI, I quickly hacked my own dialog box.



I started this because there's a moment in where the game needs some keybd input from the player.
The "OK/Cancel" buttons are generated by a couple of lines of code, so is the textfield.
Most of the GUI stuff is based on a couple of functions that works more or less independently. No class, no OOP here.

Code: [Select]
void gui_draw_3d_button(rect *_r, BOOL hilite)
{
    rect r, r2;
    short col_black = 0,
            col_med = 14,
            col_light = 20,
            col_white = 19;

    if (!hilite)
    {
        col_med = 12;
        col_light = 17;
        col_white = 29;
    }

    memcpy(&r, _r, sizeof(rect));

    rpage_video_fill_rect(&r, col_black);
    rect_shrink(&r, 1);
    rpage_video_fill_rect(&r, col_med);
    memcpy(&r2, &r, sizeof(rect));
    r2.sy = (r2.sy + r2.ey) / 2;
    rpage_video_fill_rect(&r2, col_med - 2);
    rpage_video_draw_rect(&r, col_light);
    rpage_video_set_pixel(r.sx, r.sy, col_white);
    rpage_video_set_pixel(r.ex, r.ey, col_white);
}

At some point, I found out I could use this buttons for some other purpose, like :

Asking for a disk swap

(he says he wants you to insert disk 1)

Loading/Saving the game's progress


- By the way, will the game be in English, too?
- SIR, YES SIR!



Nothing crazy but it looks cute, don't you think?
10
Application Development / Re: Athanor 2 - an adventure game
« Last post by Astrofra on December 18, 2020, 08:04:13 AM »
Athanor 2, game dev warstories  8)

The most funny glitch I had when working on the game’s display is one well documented side effect of the Amiga’s parallel architecture. As the blitter and the CPU works concurrently, you need to take care of which one is the fastest...

Turns out the result really depends on the Amiga model. On the basic A500 everything might be ok.

Let’s say :
- malloc() and load a bitmap from disk
- blit it to the screen
- free() the bitmap

Problem:
On a faster 68k machine with the same OCS blitter, turns out the free() might occur before the blit is completed, leading to a garbaged display, as the blitter goes on with the blitting stuff while the data is not available anymore.

This happens especially if you do like me, cleaning all the bitplane pointers table after freeing it :)

Code: [Select]
void free_allocated_bitmap(struct BitMap *allocated_bitmap)
{
if (allocated_bitmap)
{
UWORD i;

if (allocated_bitmap->Planes[0] != NULL)
FreeMem(allocated_bitmap->Planes[0], RASSIZE(allocated_bitmap->BytesPerRow << 3, allocated_bitmap->Rows) * allocated_bitmap->Depth);
else
printf("free_allocated_bitmap() error, plane ptr should not be NULL!\n");

for (i = 0; i < allocated_bitmap->Depth; i++)
{
if (allocated_bitmap->Planes[i] != NULL)
allocated_bitmap->Planes[i] = NULL;
}

if (allocated_bitmap != NULL)
{
FreeMem(allocated_bitmap, (LONG)sizeof(struct BitMap));
allocated_bitmap = NULL;
}
}
}

Solution:
To solve workaround this issue, I ended up with a blocking call to WaitBlit() do that the free cannot occur before the blitter is done...

We're talking Adventure Game, here, performance is not a real concern  8)
Pages: [1] 2 3 ... 10