1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-11 11:30:13 +00:00

Minor update by Oliver Schmidt

git-svn-id: svn://svn.cc65.org/cc65/trunk@3746 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2006-05-31 21:11:46 +00:00
parent be29185283
commit b8a6d7a6f6
4 changed files with 14 additions and 13 deletions

View File

@ -599,7 +599,7 @@ The compiler defines several macros at startup:
<tag><tt>__APPLE2ENH__</tt></tag> <tag><tt>__APPLE2ENH__</tt></tag>
This macro is defined if the target is the enhanced Apple // (-t apple2enh). This macro is defined if the target is the enhanced Apple //e (-t apple2enh).
<tag><tt>__ATARI__</tt></tag> <tag><tt>__ATARI__</tt></tag>

View File

@ -249,14 +249,14 @@ as each target varies in it's start and exit conditions.
<sect1>Apple <sect1>Apple
<sect2>AppleWin 1.10.4<p> <sect2>AppleWin 1.x<p>
Available at <url url="http://www.jantzer-schmidt.de/applewin/">: Available at <url url="http://applewin.berlios.de/">:
Emulates Apple II+/IIe computers, with sound, video, joysticks, serial port, Emulates Apple II/IIe computers, with sound, video, joysticks, serial port,
and disk images. Includes monitor. Only for Windows. The package comes with and disk images. Includes monitor. Only for Windows. The package comes with
ROM and DOS 3.3 disk (called "master.dsk") images; however, you will need DOS 3.3 disk (called "master.dsk") images; however, you will need <bf/a2tools/
<bf/a2tools/ (available at <url (available at <url
url="http://hotel04.ausys.se/pausch/apple2/#a2tools">). url="ftp://ftp.apple.asimov.net/pub/apple_II/unsorted/a2tools.zip">).
Compile the tutorial with Compile the tutorial with
@ -292,8 +292,8 @@ BRUN TEST
</verb></tscreen> </verb></tscreen>
You will see the "Hello, World!" appear on the same line. Thanks to Oliver You will see the "Hello, World!" appear on the same line. Thanks to Oliver
Schmidt, <htmlurl url="mailto:oliver@jantzer-schmidt.de" Schmidt, <htmlurl url="mailto:ol.sc@web.de" name="ol.sc@web.de"> for his help
name="oliver@jantzer-schmidt.de"> for his help in completing this section. in completing this section.
<sect1>Atari <sect1>Atari

View File

@ -153,6 +153,7 @@ Here is a description of all the command line options:
<itemize> <itemize>
<item>none <item>none
<item>apple2 <item>apple2
<item>apple2enh
<item>atari <item>atari
<item>atmos <item>atmos
<item>c16 (works also for the c116 with memory up to 32K) <item>c16 (works also for the c116 with memory up to 32K)

View File

@ -59,6 +59,7 @@ CMOVEY: jmp $0000 ; Move the cursor to Y coord
.bss .bss
info: .tag MOUSE_INFO
slot: .res 1 slot: .res 1
visible:.res 1 visible:.res 1
@ -82,10 +83,6 @@ size = * - values
.data .data
info: .word 279 / 2 ; MOUSE_INFO::MOUSE_POS::XCOORD
.word 191 / 2 ; MOUSE_INFO::MOUSE_POS::YCOORD
.byte %00000000 ; MOUSE_INFO::BUTTONS
firmware: firmware:
; Lookup and patch firmware address lobyte ; Lookup and patch firmware address lobyte
lookup: ldy $FF00,x ; Patched at runtime lookup: ldy $FF00,x ; Patched at runtime
@ -192,6 +189,9 @@ next: inc ptr1+1
ldx #POSMOUSE ldx #POSMOUSE
jsr firmware jsr firmware
; Update cursor
jsr update
; Turn VBL interrupt on ; Turn VBL interrupt on
lda #%00001001 lda #%00001001
ldx #SETMOUSE ldx #SETMOUSE