mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-12 04:02:46 +00:00
Update README.md
This commit is contained in:
@@ -16,7 +16,7 @@ copper:
|
||||
pf1_bitplanepointers:
|
||||
;; this is where bitplanes are assigned to playfields
|
||||
;; http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node0079.html
|
||||
;; for 3 bitplanes per playfield, playfield1 gets bitplanes 1,3,5
|
||||
;; 3 bitplanes per playfield, playfield1 gets bitplanes 1,3,5
|
||||
dc.w BPL1PTL,0
|
||||
dc.w BPL1PTH,0
|
||||
dc.w BPL3PTL,0
|
||||
@@ -24,7 +24,7 @@ pf1_bitplanepointers:
|
||||
dc.w BPL5PTL,0
|
||||
dc.w BPL5PTH,0
|
||||
pf2_bitplanepointers:
|
||||
;; for 3 bitplanes per playfieldd, playfield2 gets bitplanes 2,4,6
|
||||
;; 3 bitplanes per playfield, playfield2 gets bitplanes 2,4,6
|
||||
dc.w BPL2PTL,0
|
||||
dc.w BPL2PTH,0
|
||||
dc.w BPL4PTL,0
|
||||
@@ -38,12 +38,12 @@ Poke the copper list with the bitplane pointer addresses:
|
||||
|
||||
```
|
||||
;; poke playfield 1 bitplane pointers
|
||||
lea pf1_bitplanepointers(pc),a0
|
||||
lea pf1_bitplanepointers(pc),a0
|
||||
lea pf1_bitplanes(pc),a1
|
||||
bsr.s pokeBitplanePointers
|
||||
|
||||
;; poke playfield 2 bitplane pointers
|
||||
lea pf2_bitplanepointers(pc),a0
|
||||
lea pf2_bitplanepointers(pc),a0
|
||||
lea pf2_bitplanes(pc),a1
|
||||
bsr.s pokeBitplanePointers
|
||||
```
|
||||
@@ -62,11 +62,19 @@ try it
|
||||
* [Download disk image](bin/dual_playfield_mode.adf?raw=true)
|
||||
* <a href="http://alpine9000.github.io/ScriptedAmigaEmulator/#amiga_examples/dual_playfield_mode.adf" target="_blank">Run in SAE</a>
|
||||
|
||||
playfield 1
|
||||
-----------
|
||||

|
||||
|
||||
interlaced
|
||||
----------
|
||||

|
||||
playfield 2
|
||||
-----------
|
||||

|
||||
|
||||
non-interlaced
|
||||
--------------
|
||||

|
||||
|
||||
dual playfields, playfield 2 in front
|
||||
-------------------------------------
|
||||

|
||||
|
||||
dual playfields, playfield 1 in front
|
||||
-------------------------------------
|
||||

|
||||
|
||||
Reference in New Issue
Block a user