mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-12 01:32:35 +00:00
README typos, forgot to add base.mk
This commit is contained in:
@@ -12,8 +12,6 @@ So the algorithm for drawing to non word aligned boundaries is as follows:
|
||||
4. We right shift the data by the difference in bits between the desired column and the word aligned column from (1).
|
||||
5. We make the line modulos #-2 so blitter object data is correctly fetched.
|
||||
|
||||
|
||||
|
||||
[Download disk image](bin/shift_blit.adf?raw=true)
|
||||
|
||||
Screenshot:
|
||||
|
||||
@@ -19,7 +19,7 @@ Then in the main loop I now:
|
||||
.mainLoop:
|
||||
bsr.s waitVerticalBlank
|
||||
bsr.s installGreyscalePalette
|
||||
move.l #4,d0 ; blit the object 4 times each frame
|
||||
move.l #4,d0 ; blit the object 5 times each frame
|
||||
.blitLoop:
|
||||
bsr.s moveBlitterObject
|
||||
dbra d0,.blitLoop
|
||||
@@ -35,7 +35,7 @@ The `NUM_COLORS` variable in the [Makefile](Makefile) sets the number of colors.
|
||||
-----------
|
||||

|
||||
|
||||
At 5 bitplanes we don't have enough time to do 5 blits.
|
||||
At 5 bitplanes we have enough time to do 5 blits.
|
||||
|
||||
4 bitplanes
|
||||
-----------
|
||||
|
||||
@@ -9,7 +9,8 @@ SUBDIRS=tools/makeadf \
|
||||
006.simple_blit\
|
||||
007.masked_blit\
|
||||
008.shift_blit\
|
||||
009.anim_blit
|
||||
009.anim_blit\
|
||||
010.blit_speed
|
||||
|
||||
.PHONY: subdirs $(SUBDIRS)
|
||||
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ out/main.o: $(MODULE) $(EXTRA)
|
||||
@# -v
|
||||
@#vc -c $< -o $@
|
||||
@#-showopt -no-opt
|
||||
vasmm68k_mot -Fhunk -phxass -opt-fconst -nowarn=62 -quiet $< -o $@ -I/usr/local/amiga/os-include
|
||||
vasmm68k_mot $(VASM_EXTRA_ARGS) -Fhunk -phxass -opt-fconst -nowarn=62 -quiet $< -o $@ -I/usr/local/amiga/os-include
|
||||
|
||||
out/main.bin: out/main.o $(EXTRAOBJS)
|
||||
@#-T ../link.script
|
||||
|
||||
Reference in New Issue
Block a user