La recherche a retourné 25 résultats

par Garland_Raven
03 juil. 2017 05:04
Forum : Liens sur la toile
Sujet : Blog Thomson
Réponses : 219
Vues : 98417

Re: Blog Thomson

Very VERY nice blog, didn't knew it. A trip to my childhood, thanks for this :)
par Garland_Raven
02 juil. 2017 16:37
Forum : Développements actuels
Sujet : [MO6][demo] Bitmap16 Sprite handling
Réponses : 4
Vues : 2739

Re: [MO6][demo] Bitmap16 Sprite handling

Quite clear, so instead of moving by 1 memory block i'll use ram exchange.

How long can be a single program code? I'm about 300 rows and it doesn't compile anymore it seems because of the length. I suppose i have to split it in some macros :)

Merci!
par Garland_Raven
02 juil. 2017 07:17
Forum : Développements actuels
Sujet : [MO6][demo] Bitmap16 Sprite handling
Réponses : 4
Vues : 2739

Re: [MO6] Bitmap16 Sprite Handling

I made this tiny demo in bitmap16. (GALAGA.asm) Its the Galaga spaceship which you can move left/right with arrow keys, feature double buffering for transictions. http://i68.tinypic.com/3310tbn.png I wonder now how to make some vertical scrolling (stars for instance) having the RAM swap in the middl...
par Garland_Raven
30 juin 2017 00:11
Forum : Développements actuels
Sujet : [MO6][demo] Bitmap16 Sprite handling
Réponses : 4
Vues : 2739

[MO6][demo] Bitmap16 Sprite handling

First of all, i would thank you for your help so far, i came here one week ago knowing nothing about asm and i had a great time praticing on 6809 and MO6. Now i would choose a resolution to attempt my game and of course i'm strongly tempted by 160x200. What really scares me is the video memory split...
par Garland_Raven
29 juin 2017 18:09
Forum : Développements actuels
Sujet : Double buffering sur MO6
Réponses : 52
Vues : 20707

Re: Double buffering sur MO6

the first thing to do when ram overlap rom/cartridge space, You should disable all interrupts. Thank you, i just tried LDB #$00 STB $A7DD STB $A7E6 just before the STOP and now the prompt returns :) To disable interrupts i have to do a ORCC #80 i guess. So the cartridge memory is the only choice we...
par Garland_Raven
29 juin 2017 17:29
Forum : Développements actuels
Sujet : Double buffering sur MO6
Réponses : 52
Vues : 20707

Re: Double buffering sur MO6

__sam__ a écrit :(...)
This is happening even using ORG like &16384, what address shoud i try? :) Thank you !! :)

PS: if i got it right, we are forced to use cartridge ram to implement double buffering because there's no other place to allocate buffers ? :D
par Garland_Raven
29 juin 2017 17:12
Forum : Développements actuels
Sujet : Double buffering sur MO6
Réponses : 52
Vues : 20707

Re: Double buffering sur MO6

I was learning about double buffering using that awesome Nyan cat source code. I already implemented this technique on other systems and i know how it works. However, when running with macro assembler cartridge, the execution freezes on this line: LDB #$00 ANDB #$02 * page RAM no0 ou no2 utilisée da...
par Garland_Raven
28 juin 2017 15:55
Forum : Développements actuels
Sujet : Double buffering sur MO6
Réponses : 52
Vues : 20707

Re: Double buffering sur MO6

You mean the vertical stripes that appear after poking $A7cd hence switching to 160x200? they are normal since in 320x200 the invisible cyan foreground color in color-ram suddenly are interpreted. as chunk bits and become visible as stripes on every ram-b column in 160x200. Then all i should do is ...
par Garland_Raven
28 juin 2017 15:20
Forum : Développements actuels
Sujet : Double buffering sur MO6
Réponses : 52
Vues : 20707

Re: Double buffering sur MO6

Fool-DupleX a écrit :Which means you are probably already in RAMB. Try:

Code : Tout sélectionner

LDA $A7C0
ORA #$01    .Passage en RAM forme
STA $A7C0
Yes, so it is ANDA #$FE and ORA #$01, thanks :)

Any idea about the glitched screen? :|
par Garland_Raven
28 juin 2017 08:05
Forum : Développements actuels
Sujet : Double buffering sur MO6
Réponses : 52
Vues : 20707

Re: Double buffering sur MO6

Sorry for necro posting guys. When i execute this code to switch on bitmap16 mode: ORG &32000 LDA #$7B STA $A7DC I get this: http://i68.tinypic.com/1zgf36.png Red+yellow point on center are drawn by me so thats fine. (I'm using PC128 emulation rather than MO6). Also, this is a code for TO8: LDA ...
par Garland_Raven
22 juin 2017 15:38
Forum : Développements actuels
Sujet : MO5 : Routine assembleur SPRITE
Réponses : 20
Vues : 7622

Re: MO5 : Routine assembleur SPRITE

Fool-DupleX a écrit :(...)
Baptiste, are you Garland_Raven ? I'm confused.
Nope 8)
par Garland_Raven
22 juin 2017 15:22
Forum : Développements actuels
Sujet : ASM 6809: les variables
Réponses : 14
Vues : 5552

Re: ASM 6809: les variables

I'm already a full time programmer on high-ended languages for all platforms so using Visual Studio or XCode is my daily job and as you know today is easier to code performant software thanks to modern hardware speed, engines, tools, and so on ;) i wish to learn 6809 ONLY because since i was kid i w...
par Garland_Raven
22 juin 2017 00:28
Forum : Développements actuels
Sujet : ASM 6809: les variables
Réponses : 14
Vues : 5552

Re: ASM 6809: les variables

First of all, this answer melts face and im so grateful to you man :) one of the reasons that made me to learn some ASM is the admiration for such all low-ended coders like you. When i was 12, finding a book like this one, or finding some deep notions about 6809 ASM and the architecture of MO5 was r...
par Garland_Raven
21 juin 2017 21:00
Forum : Développements actuels
Sujet : ASM 6809: les variables
Réponses : 14
Vues : 5552

Re: ASM 6809: les variables

http://i67.tinypic.com/28kk38p.jpg So if i got it right, 40 addresses are because there are 40 columns in the text mode, then to grab the upper or lower octet i must offset of 40 addresses. 320 then is 40*8 raws which are composing the character, so 1,X means near one pixel right and -1,X one pixel...
par Garland_Raven
21 juin 2017 18:34
Forum : Développements actuels
Sujet : ASM 6809: les variables
Réponses : 14
Vues : 5552

Re: ASM 6809: les variables

lea effectively stands for load the effective address. leax -319,x loads in x the address x-319. in fact this is similar to x=x-319 in c/basic/etc. While learning the syntax and the functions is one part of the job, the most difficult part is to get how to organize the code: i know it might be a si...