~z88dk-team/z88dk-pkg/trunk

« back to all changes in this revision

Viewing changes to libsrc/sprites/software/sp1/ts2068hr/tiles/sp1_ClearRectInv.asm

  • Committer: Bazaar Package Importer
  • Author(s): Krystian Wlosek, Krystian Wlosek
  • Date: 2008-03-25 11:46:11 UTC
  • mfrom: (1.1.2 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080325114611-u89smn2ccknl8avt
Tags: 1.8.ds1-2
[ Krystian Wlosek ]
* Enable 64bit architecture.
* Added '-m32' switch to CFLAGS and LDFLAGS for 64bit machines.
* Changed Architecture: to `any' in z88dk and z88dk-bin package.
* Added gcc-multilib to Build-Depends: for 64bit
* Fixed problem with x11.lib
  - created symlink from include/x11 to include/X11
  - improved Makefile for x11.lib
    patch debian/patches/03_libsrc_graphics_x11_Makefile.diff
* Fixed library ozansi.lib
  - patch debian/patches/03_libsrc_oz_ozinput_Makefile.diff
* Changed Copyright notice.
* Fixed gcc warnings:
  - in src/appmake dir - debian/patches/04_src_appmake.diff
  - in src/zcc/zcc.c - debian/patches/04_src_zcc_zcc.c.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; void sp1_ClearRectInv(struct sp1_Rect *r, uchar tile, uchar rflag)
 
2
; CALLER linkage for function pointers
 
3
 
 
4
XLIB sp1_ClearRectInv
 
5
 
 
6
LIB sp1_ClearRectInv_callee
 
7
XREF ASMDISP_SP1_CLEARRECTINV_CALLEE
 
8
 
 
9
.sp1_ClearRectInv
 
10
 
 
11
   ld hl,2
 
12
   add hl,sp
 
13
   ld a,(hl)
 
14
   inc hl
 
15
   inc hl
 
16
   ld e,(hl)
 
17
   inc hl
 
18
   inc hl
 
19
   ld c,(hl)
 
20
   inc hl
 
21
   ld h,(hl)
 
22
   ld l,c
 
23
   push de
 
24
   ld d,(hl)
 
25
   inc hl
 
26
   ld e,(hl)
 
27
   inc hl
 
28
   ld b,(hl)
 
29
   inc hl
 
30
   ld c,(hl)
 
31
   pop hl
 
32
   jp sp1_ClearRectInv_callee + ASMDISP_SP1_CLEARRECTINV_CALLEE