~z88dk-team/z88dk-pkg/trunk

« back to all changes in this revision

Viewing changes to libsrc/spectrum/opus/opus_6116.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
;
 
2
;       ZX Spectrum OPUS DISCOVERY specific routines
 
3
;
 
4
;       Stefano Bodrato - Jun. 2006
 
5
;
 
6
;       This routine checks if the 6116 memory expansion is present.
 
7
;
 
8
;       $Id: opus_6116.asm,v 1.1 2007/10/04 12:18:56 stefano Exp $
 
9
;
 
10
 
 
11
                XLIB    opus_6116
 
12
        
 
13
                LIB     opus_rommap
 
14
 
 
15
.opus_6116
 
16
                call    opus_rommap
 
17
                call    $1708           ; Page in the Discovery ROM
 
18
 
 
19
                ld      hl,3001
 
20
                ld      a,(hl)
 
21
                ld      (hl),255
 
22
                bit     1,(hl)
 
23
                ld      (hl),a
 
24
 
 
25
                ld      hl,0
 
26
                jr      z,noram
 
27
                inc     hl
 
28
.noram
 
29
                call    $1748           ; Page out the Discovery ROM
 
30
                ret
 
31