English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. General (https://eab.abime.net/forumdisplay.php?f=37)
-   -   problem with txt routine. (https://eab.abime.net/showthread.php?t=23573)

redblade 30 May 2006 09:41

problem with txt routine.
 
I've uploaded a source into the zone.

After looking at RSI Demo maker, I thought, hey I can do some of that stuff.

I'm having problems displaying a 16x16pixelsx3bitplanes Character.

the Character is in the source and is saved in RAW format.
The colours are also in the source code.

--
I've set up the 3 bitplane pointers, told $100 I want to display 3bitplanes.

But damn it it doesn't seem to be working the way I was hoping/expecting it to.

When I use 'AD' on AsmONE1.6, it seems to be a problem displaying the 2nd bitplane as it goes horizontal instead of vertical.

oh Yeah I'm using this on WinUAE as I have no AmigaMonitor, and TVscreen is not a option.

bobbybearing 30 May 2006 13:35

2 Attachment(s)
could you post a picture of the original character "A" of your font
and a snapshot of winuae with the prog
'cause i cant see where is the problem

EDIT:
original font ripped and snapshot of your prog in winuae
differences??

redblade 30 May 2006 22:44

2 Attachment(s)
here's a PNG of the font.

it's called mamor.font and comes with RSI.

hope the 2 pngs help.

What version of UAE you running it on? It seems to work on yours :nuts

bobbybearing 31 May 2006 00:43

winuae 1.2 A500 config
the problem appear in AGA

I see...
the problem is : bpl2mod missing in coplist (even bitplan modulo)
only bpl1mod set (odd bitplan modulo)

add $10a,0 after $108,0

Asman 31 May 2006 07:52

Also i dont see where is set dmacon in source file. Add this.

bobbybearing 31 May 2006 16:28

... like this at start of the code :
move.w #$83c0,$dff096 ; activate Copper/Blitter DMA

choose in list : #D_setclr|D_Master|D_Btpl|D_Copp|D|Blit
D_setclr=$8000
D_BlitHog=$400 ; pri blitter
D_Master=$200
D_Btpl=$100 ; or Raster
D_Copp=$80
D_Blit=$40
D_sprt=$20
D_disk=$10
D_aud0=1
D_aud1=2
D_aud2=4
D_aud3=8

redblade 02 June 2006 08:51

yep it was bplmod2. set that to 0 and font works okay :)


All times are GMT +2. The time now is 04:00.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04273 seconds with 11 queries