English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 18 October 2015, 23:09   #1
Powergoo
Registered User
Powergoo's Avatar
 
Join Date: Aug 2013
Location: france
Posts: 20
OCS ECS compatibility problem or Kickstart V1.3 / V2.04

Hi everybody


I have a little problem with copperliste.
I'm on WinUAE, when I use version 1.3 (OCS) it work Normally

But a bug Appear when I use the Kickstart 2.04 (ECS).


this next code is ok on 1.3 and 2.04 :

Code:
    section datas,data_c

copperlist:
    dc.w    $0180,$0000,$0182,$0ff0,$0184,$0f00,$0186,$0fff
    dc.w    $008E,$2981,$0090,$29C1    ;    screen 320 X 256 centered
    dc.w    $0092,$0038,$0094,$00D0
    dc.w    $0100,$5200,$0102,$0000    ;    5 bitplans
    dc.w    $0108,$0000,$010A,$0000
    dc.w    $2701,$fffe,$0180,$00f0    ; green line
    dc.w    $2801,$fffe,$0180,$0000

plan:
dc.w    $00e0,$0000,$00e2,$0000
dc.w    $00e4,$0000,$00e6,$0000
dc.w    $00e8,$0000,$00ea,$0000
dc.w    $00ec,$0000,$00ee,$0000
dc.w    $00f0,$0000,$00f2,$0000
    
dc.w    $2b01,$fffe
dc.w    $ffe1,$fffe
dc.w    $2901,$fffe
    dc.w    $0100,$0200                ; 0 bitplans
    dc.l    -2,-2
end:    

Work Fine ! all is normal
but if I want not to display bitplan
before arriving in the end of diwstop values

This code work in 1.3 but not on 1.3
picture and my beautiful green raster line is shifted down :-(
(25 pixels for my example)

Code:
copperlist:
    dc.w    $0180,$0000,$0182,$0ff0,$0184,$0f00,$0186,$0fff

    dc.w    $008E,$2981,$0090,$29C1    ;    screen 320 X 256 centered
    dc.w    $0092,$0038,$0094,$00D0
    dc.w    $0100,$5200,$0102,$0000    ;    5 bitplans
    dc.w    $0108,$0000,$010A,$0000
    dc.w    $2701,$fffe,$0180,$00f0    ; green line
    dc.w    $2801,$fffe,$0180,$0000

plan:
    dc.w    $00e0,$0000,$00e2,$0000
    dc.w    $00e4,$0000,$00e6,$0000
    dc.w    $00e8,$0000,$00ea,$0000
    dc.w    $00ec,$0000,$00ee,$0000
    dc.w    $00f0,$0000,$00f2,$0000
    
    dc.w    $2b01,$fffe
    dc.w    $0100,$0200  ; 0 bitplans 
    dc.w    $ffe1,$fffe
    dc.w    $2901,$fffe

    dc.l    -2,-2
end:
how to make it 2.0 compatible?


And last question,
I see in some intro coders omitting the color bit for the register BPLCON0
dc.w $0100,$5000 instead of $0100,$5200
and the result is the same no ?


Many thanks in advance.


Powergoo
Powergoo is offline  
Old 18 October 2015, 23:22   #2
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,265
Are you sure it's not that horrible automatic centering setting in WinUAE that is enabled?

The color bit in BPLCON0 only has an effect on A1000 IIRC, but there's no harm in setting it for other systems.
Leffmann is offline  
Old 19 October 2015, 01:12   #3
Powergoo
Registered User
Powergoo's Avatar
 
Join Date: Aug 2013
Location: france
Posts: 20
Quote:
Originally Posted by Leffmann View Post
Are you sure it's not that horrible automatic centering setting in WinUAE that is enabled?

The color bit in BPLCON0 only has an effect on A1000 IIRC, but there's no harm in setting it for other systems.

Thanks Leffmann

I've centering Horizontal and vertical enable in my WinUAE Configuration for 2.04 and not for 1.3
When i disable it, it works fine in 2.04
Powergoo is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sprite corruption with OCS Agnus, ECS Denise, Kickstart 3.1 mark_k support.WinUAE 18 08 January 2015 16:27
Alfred Chicken OCS/ECS BippyM project.Maptapper 2 22 December 2014 08:07
ECS and OCS antonvaltaz Amiga scene 6 09 April 2010 12:50
Shaq Fu OCS/ECS? Old Fool request.Old Rare Games 6 19 April 2006 19:28
OCS ECS selection? PiCiJi HOL data problems 37 24 September 2003 20:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.08477 seconds with 15 queries