~z88dk-team/z88dk-pkg/trunk

« back to all changes in this revision

Viewing changes to libsrc/im2/im2_Init.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
 
; CALLER linkage for function pointers
 
1
; void __FASTCALL__ im2_Init_callee(void *tableaddr)
 
2
; 04.2004, 02.2008 aralbrec
2
3
 
3
4
XLIB im2_Init
4
5
 
5
 
LIB im2_Init_callee
6
 
XREF ASMDISP_IM2_INIT_CALLEE
7
 
 
8
6
.im2_Init
9
7
 
10
 
   pop hl
11
 
   pop bc
12
 
   pop af
13
 
   pop de
14
 
   push de
15
 
   push af
16
 
   push bc
17
 
   push hl
18
 
   
19
 
   jp im2_Init_callee + ASMDISP_IM2_INIT_CALLEE
 
8
; enter : hl = address of im2 vector table
 
9
 
 
10
   ld a,h
 
11
   ld i,a
 
12
   im 2
 
13
   ret