]> git.sur5r.net Git - cc65/commitdiff
Fixing telestrat.h
authorjede <jede@oric.org>
Thu, 2 Feb 2017 21:53:28 +0000 (22:53 +0100)
committerjede <jede@oric.org>
Thu, 2 Feb 2017 21:53:28 +0000 (22:53 +0100)
include/telestrat.h
libsrc/telestrat/close.s
libsrc/telestrat/mainargs.s
libsrc/telestrat/open.s
libsrc/telestrat/write.s

index 85da8df60303f65038d134c6484ebd329b851c27..5a090647b69250d49d83408708d9b4f2f148b8dd 100644 (file)
@@ -1,17 +1,41 @@
+/*****************************************************************************/
+/*                                                                           */
+/*                             telestrat.h                                   */
+/*                                                                           */
+/*                   Oric Telestrat system-specific definitions              */
+/*                                                                           */
+/*                                                                           */
+/*                                                                           */
+/* (C) 2017       Debrune Jérome, <jede@oric.org>                            */
+/*                                                                           */
+/*                                                                           */
+/* This software is provided 'as-is', without any expressed or implied       */
+/* warranty.  In no event will the authors be held liable for any damages    */
+/* arising from the use of this software.                                    */
+/*                                                                           */
+/* Permission is granted to anyone to use this software for any purpose,     */
+/* including commercial applications, and to alter it and redistribute it    */
+/* freely, subject to the following restrictions:                            */
+/*                                                                           */
+/* 1. The origin of this software must not be misrepresented; you must not   */
+/*    claim that you wrote the original software. If you use this software   */
+/*    in a product, an acknowledgment in the product documentation would be  */
+/*    appreciated but is not required.                                       */
+/* 2. Altered source versions must be plainly marked as such, and must not   */
+/*    be misrepresented as being the original software.                      */
+/* 3. This notice may not be removed or altered from any source              */
+/*    distribution.                                                          */
+/*                                                                           */
+/*****************************************************************************/
 
 
 
-void hires();
-void text();
 void oups();
 void ping();
 void zap();
 void shoot();
 void explode();
 
-void paper(char color);
-void ink(char color);
-
 void kbdclick1();
 
 
index 04d8788d16dc4a03f62f099867ad4860e77149e3..40e2c10b39722a89b445854c8602390ac9788e17 100644 (file)
@@ -14,5 +14,3 @@
     BRK_TELEMON XCLOSE ; launch primitive ROM
     rts
 .endproc
-               
-               
\ No newline at end of file
index 41c3a51310164b9b9a528810d95174d3a070ff2e..0c9e799dade03bfbeadb630343154f6327e079fa 100644 (file)
@@ -8,7 +8,7 @@
 
         .constructor    initmainargs, 24
         .import         __argc, __argv
-               .import                         ptr1
+        .import         ptr1
         .include        "telestrat.inc"
         .macpack        generic
 
index 8e94de311e4889c48887ff375cf4be44e640ac8b..08910f4f2c4a98ccb2d7cb1bb36221509569633c 100644 (file)
@@ -27,9 +27,7 @@ parmok:
     sta         tmp3        ; save flags
 ; Get the filename from stack and parse it. Bail out if is not ok
     jsr        popax       ; Get name
-    ldy                tmp3        ; Get flags again
+    ldy         tmp3       ; Get flags again
     BRK_TELEMON XOPEN      ; launch primitive ROM
     rts
 .endproc
-               
-               
\ No newline at end of file
index 1d269887de36de891a0f15fb355597f71efbc838..8c2bc08f7e6b26f973f41327b76f55739dc26767 100644 (file)
@@ -53,7 +53,7 @@ L2:     ldy     #0
         cpx     #$0A            ; Check for \n
         bne     L3
         BRK_TELEMON  XWR0  ; Macro send char to screen (channel 0 in telemon terms)
-               lda     #$0D ; return to the beggining of the line
+        lda     #$0D ; return to the beggining of the line
         BRK_TELEMON  XWR0  ; Macro ;