Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed comment in asmbindings #153

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -19,7 +19,7 @@
.include "macros/cpct_undocumentedOpcodes.h.s"

;;
;; ASM bindings for <cpct_etm_drawTilemap4x8_ag_asm>
;; ASM bindings for <cpct_etm_drawTilemap4x8_ag>
;;
;; 3 microseconds, 1 byte
;;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -19,7 +19,7 @@
.include "macros/cpct_undocumentedOpcodes.h.s"

;;
;; ASM bindings for <cpct_etm_drawTilemap4x8_agf_asm>
;; ASM bindings for <cpct_etm_drawTilemap4x8_agf>
;;
;; 3 microseconds, 1 byte
;;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -20,7 +20,7 @@
.include "macros/cpct_maths.h.s"

;;
;; ASM bindings for <cpct_etm_setDrawTilemap4x8_ag_asm>
;; ASM bindings for <cpct_etm_setDrawTilemap4x8_ag>
;;
;; 0 microseconds, 0 bytes
;;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -20,7 +20,7 @@
.include "macros/cpct_maths.h.s"

;;
;; ASM bindings for <cpct_etm_setDrawTilemap4x8_agf_asm>
;; ASM bindings for <cpct_etm_setDrawTilemap4x8_agf>
;;
;; 0 microseconds, 0 bytes
;;
Expand Down
6 changes: 3 additions & 3 deletions cpctelera/src/loaders/cpct_miniload_asmbindings.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 César Nicolás González (CNGSoft)
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
Expand All @@ -19,12 +19,12 @@
.module cpct_loaders

;;
;; C bindings for <cpct_miniload_asm>
;; ASM bindings for <cpct_miniload>
;;
;; 3 us, 1 byte
;;
cpct_miniload_asm::

.include /cpct_miniload.asm/

ret ;; [3] Return to caller
ret ;; [3] Return to caller
6 changes: 3 additions & 3 deletions cpctelera/src/sprites/cpct_drawSolidBox_asmbindings.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2019 Arnaud bouche (@Arnaud6128)
;; Copyright (C) 2019 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
Expand All @@ -22,11 +22,11 @@
.include "macros/cpct_undocumentedOpcodes.h.s"

;;
;; AS; bindings for <cpct_drawSolidBox>
;; ASM bindings for <cpct_drawSolidBox>
;;
;; 1 us, 1 bytes
;;
cpct_drawSolidBox_asm::
cpct_drawSolidBox_asm::

ld l, a ;; [1] L=A (Colour pattern)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -21,7 +21,7 @@
.include "macros/cpct_maths.h.s"

;;
;; C bindings for <cpct_drawSpriteHFlipMasked_at_asm>
;; ASM bindings for <cpct_drawSpriteHFlipMasked_at>
;;
;; 3 us, 1 byte
;;
Expand All @@ -30,4 +30,4 @@ cpct_drawSpriteHFlipMasked_at_asm::

.include /cpct_drawSpriteHFlipMasked_at.asm/

ret ;; [3] Return to caller
ret ;; [3] Return to caller
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -21,7 +21,7 @@
.include "macros/cpct_maths.h.s"

;;
;; C bindings for <cpct_drawSpriteHFlip_at_asm>
;; ASM bindings for <cpct_drawSpriteHFlip_at>
;;
;; 3 us, 1 byte
;;
Expand All @@ -30,4 +30,4 @@ cpct_drawSpriteHFlip_at_asm::

.include /cpct_drawSpriteHFlip_at.asm/

ret ;; [3] Return to caller
ret ;; [3] Return to caller
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -20,12 +20,12 @@
.include "macros/cpct_undocumentedOpcodes.h.s"

;;
;; ASM bindings for <cpct_drawSpriteVFlipMasked_asm>
;; ASM bindings for <cpct_drawSpriteVFlipMasked>
;;
;; 3 us, 1 byte
;;
cpct_drawSpriteVFlipMasked_asm:: ;; Assembly entry point

.include /cpct_drawSpriteVFlipMasked.asm/

ret ;; [3] Return to caller
ret ;; [3] Return to caller
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -20,12 +20,12 @@
.include "macros/cpct_undocumentedOpcodes.h.s"

;;
;; ASM bindings for <cpct_drawSpriteVFlipMasked_at_asm>
;; ASM bindings for <cpct_drawSpriteVFlipMasked_at>
;;
;; 3 us, 1 byte
;;
cpct_drawSpriteVFlipMasked_at.asm:: ;; Assembly entry point

.include /cpct_drawSpriteVFlipMasked_at.asm/

ret ;; [3] Return to caller
ret ;; [3] Return to caller
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2017 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -18,8 +18,8 @@
.module cpct_sprites

;;
;; ASM bindings for <cpct_drawSpriteVFlip_asm>
;; ASM bindings for <cpct_drawSpriteVFlip>
;;
cpct_drawSpriteVFlip_asm:: ;; Assembly entry point

.include /cpct_drawSpriteVFlip.asm/
.include /cpct_drawSpriteVFlip.asm/
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2017 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -21,8 +21,8 @@
.include "macros/cpct_undocumentedOpcodes.h.s"

;;
;; ASM bindings for <cpct_drawSpriteVFlip_f_asm>
;; ASM bindings for <cpct_drawSpriteVFlip_f>
;;
cpct_drawSpriteVFlip_f_asm:: ;; Assembly entry point

.include /cpct_drawSpriteVFlip_f.asm/
.include /cpct_drawSpriteVFlip_f.asm/
4 changes: 2 additions & 2 deletions cpctelera/src/sprites/flipping/cpct_vflipSprite_asmbindings.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2018 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
;;
;; This program is free software: you can redistribute it and/or modify
Expand All @@ -18,7 +18,7 @@
.module cpct_sprites

;;
;; ASM bindings for <cpct_vflipSprite_asm>
;; ASM bindings for <cpct_vflipSprite>
;;
;; 0 us, 0 bytes
;;
Expand Down
9 changes: 4 additions & 5 deletions cpctelera/src/video/cpct_getVSYNCStatus_asmbindings.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;-----------------------------LICENSE NOTICE------------------------------------
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; This file is part of CPCtelera: An Amstrad CPC Game Engine
;; Copyright (C) 2001? Kevin Thacker / Arnoldemu (http://www.cpctech.org.uk/)
;; Copyright (C) 2021 Nestornillo (https://github.com/nestornillo)
;; Copyright (C) 2021 ronaldo / Fremos / Cheesetea / ByteRealms (@FranGallegoBR)
Expand All @@ -18,18 +18,17 @@
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;-------------------------------------------------------------------------------
.module cpct_video

.include "video/videomode.h.s"

;;
;; ASM bindings for <cpct_getVSYNCStatus_asm>
;; ASM bindings for <cpct_getVSYNCStatus>
;;
cpct_getVSYNCStatus_asm:: ;; Assembly entry point

;; Include common code between C and ASM
.include "cpct_getVSYNCStatus.asm"

rra ;; [1] Move Bit 0 of A (VSYNC Status) to the Carry
;; So that C=VSYNC active, NC=VSYNC inactive
ret ;; [3] Return to caller