[ALICE] WIP Ova Dinosauri (provisional title :P)

Cette catégorie traite de développements récents destinés à nos vieilles machines, applications, jeux ou démos... Amis programmeurs, c'est ici que vous pourrez enfin devenir célèbres!

Modérateurs : Papy.G, fneck, Carl

Iapetus
Messages : 155
Inscription : 22 nov. 2012 15:36

[ALICE] WIP Ova Dinosauri (provisional title :P)

Message par Iapetus »

Hi,

I am coding a game for the Alice/MC-10(16k)
It is a platform game, at the moment I have done:

- Sprite Engine (7 masked sprites)
- Level data processing
- Enemy movement
- score calculation and display

Image

At the moment I load the binary file directy with the DCAlice debugger, how do I create a tape with my game?

The gfx and palette are not definitive, I am concentrating on the game code for now.

Thanks
MO5 - MO6 - TO8D - C64C - Timex TC2048 - Acorn Electron - Amiga 500
__sam__
Messages : 7981
Inscription : 18 sept. 2010 12:08
Localisation : Brest et parfois les Flandres

Re: [ALICE] WIP Ova Dinosauri (provisional title :P)

Message par __sam__ »

cool stuff!
Samuel.
A500 Vampire V2+ ^8^, A1200 (030@50mhz/fpu/64mb/cf 8go),
A500 GVP530(MMU/FPU) h.s., R-Pi, TO9, TO8D, TO8.Démos
Daniel
Messages : 17417
Inscription : 01 mai 2007 18:30
Localisation : Vaucluse
Contact :

Re: [ALICE] WIP Ova Dinosauri (provisional title :P)

Message par Daniel »

W_oo_d a écrit :At the moment I load the binary file directy with the DCAlice debugger, how do I create a tape with my game?
Since the Basic lacks the CSAVEM instruction, you need to write your own program to save binary data to tape. An example is given in "Les mystères d'Alice", pages 211 to 214. http://alice32.free.fr/documentation/index.html
Daniel
L'obstacle augmente mon ardeur.
Iapetus
Messages : 155
Inscription : 22 nov. 2012 15:36

Re: [ALICE] WIP Ova Dinosauri (provisional title :P)

Message par Iapetus »

Thank you Daniel, I will have a look at that.

BTW, I was looking at the MC-10 and it is impossible to use the 128x192 or 256x192 modes fully because the bottom 1/3 of the screen will be a mirror of the first 1/3 of the screen. Isn't this the case with Alice too?
MO5 - MO6 - TO8D - C64C - Timex TC2048 - Acorn Electron - Amiga 500
Daniel
Messages : 17417
Inscription : 01 mai 2007 18:30
Localisation : Vaucluse
Contact :

Re: [ALICE] WIP Ova Dinosauri (provisional title :P)

Message par Daniel »

Do you mean the real MC10 or the emulated MC10 with dcalice ? MC10 (and Alice) emulation errors may remain.
On these two computers, there are also limitations due to lack of video RAM.
Daniel
L'obstacle augmente mon ardeur.
Iapetus
Messages : 155
Inscription : 22 nov. 2012 15:36

Re: [ALICE] WIP Ova Dinosauri (provisional title :P)

Message par Iapetus »

The emulators MESS and DCalice don't emulate that(the mirroring) but the virtual MC-10 does. I have asked to mc-10 owners and they confirmed that the mirroring happens in the real mc-10.

I was asking you because I don't know it it might be different on the Alice as I don't have one and I am not in contact with Alice owners.

The MC-10 friends said that the video chip is not fully connected to ram, so, even with the ram expansion it is not possible to use those modes that use 6144 bytes without altering the hardware.
MO5 - MO6 - TO8D - C64C - Timex TC2048 - Acorn Electron - Amiga 500
Daniel
Messages : 17417
Inscription : 01 mai 2007 18:30
Localisation : Vaucluse
Contact :

Re: [ALICE] WIP Ova Dinosauri (provisional title :P)

Message par Daniel »

The Alice is a perfect clone of the MC10, it should have the same behavior.
The Basic working zone overlapped the video memory, this is why many video modes are not available with Basic. However you can use them with machine code, provided you don't need to return to Basic and you have enough RAM.
The following table lists the video modes available on the MC-10,
and the bit patterns required to activate them:
A/G GM0 GM1 GM2 Video Mode Colours Memory
0 X X 0 Semigraphics 4 (SG4) 8 512 bytes
0 X X 1 Semigraphics 6 (SG6) 8 512 bytes
1 0 0 0 64 x 64 Colour Graphics One (CG1) 4 1024 bytes
1 1 0 0 128 x 64 Resolution Graphics One (RG1) 2 1024 bytes
1 0 1 0 128 x 64 Colour Graphics Two (CG2) 4 2048 bytes
1 1 1 0 128 x 96 Resolution Graphics Two (RG2) 2 1536 bytes
1 0 0 1 128 x 96 Colour Graphics Three (CG3) 4 3072 bytes
1 1 0 1 128 x 192 Resolution Graphics Three (RG3) 2 3072 bytes
1 0 1 1 128 x 192 Colour Graphics Six (CG6) 4 6144 bytes
1 1 1 1 256 x 192 Resolution Graphics Six (RG6) 2 6144 bytes

Note that RG3 is the highest video mode usable on an unexpanded MC-10.
For all practical purposes, modes CG6 and RG6 require the 16k memory expansion.

Micro Colour Basic directly supports only the Semigraphics 4 video mode.
Daniel
L'obstacle augmente mon ardeur.
Iapetus
Messages : 155
Inscription : 22 nov. 2012 15:36

Re: [ALICE] WIP Ova Dinosauri (provisional title :P)

Message par Iapetus »

Daniel, as I have said my friends who own mc-10 have confirmed this. Even using machine code you can't use the modes that take 6144 bytes without the mirroring.

I have found some further info on that:

Image
Image
Image

and at http://www.old-computers.com/museum/com ... c=163&st=1 I have found also:
You couldn''t fully take advantage of the higher resolution graphics modes without internal modifications because some of the address lines on the 6847 weren''t attached and address decoding is a cheap design. As a result, the last 1/3 of the screen is a mirror of the first 1/3 in the highest resolution modes.

To make matters worse, the ROM interrupt vectors point to locations that are in the screen address range used by higher res modes.
If someone who owns an Alice could check this out it would be helpful. But if the Alice is a clone of the MC-10 then the behaviour will be just the same
MO5 - MO6 - TO8D - C64C - Timex TC2048 - Acorn Electron - Amiga 500
Iapetus
Messages : 155
Inscription : 22 nov. 2012 15:36

Re: [ALICE] WIP Ova Dinosauri (provisional title :P)

Message par Iapetus »

Finally I had some free time...I have now the player moving around (using the keyboard) and also the colision detection against walls. It is taking a long time but I am enjoying coding it. :)
MO5 - MO6 - TO8D - C64C - Timex TC2048 - Acorn Electron - Amiga 500
Répondre