;MIT License

;Copyright (c) 2021 Fedora Adventures Pixeltronics

;Permission is hereby granted, free of charge, to any person obtaining a copy
;of this software and associated documentation files (the "Software"), to deal
;in the Software without restriction, including without limitation the rights
;to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
;copies of the Software, and to permit persons to whom the Software is
;furnished to do so, subject to the following conditions:

;The above copyright notice and this permission notice shall be included in all
;copies or substantial portions of the Software.

;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
;IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
;FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
;AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
;LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
;OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
;SOFTWARE.

;;funciones de cpctelera
.include "cpctelera.h.s"

;; Teclado

.globl cpct_scanKeyboard_f_asm
.globl cpct_isKeyPressed_asm


;; Render

.globl cpct_getScreenPtr_asm
.globl cpct_drawSolidBox_asm
.globl cpct_waitVSYNC_asm

;; Video

.globl cpct_setVideoMode_asm
.globl cpct_setPalette_asm
.globl cpct_drawSprite_asm
.globl cpct_setDrawCharM1_asm
.globl cpct_drawStringM1_asm
.globl cpct_drawSpriteMasked_asm

;;Music
.globl cpct_akp_musicInit_asm
.globl cpct_akp_musicPlay_asm
.globl cpct_akp_stop_asm
.globl _song_menu
.globl _song_game

;; Firmware y Vsync

.globl cpct_zx7b_decrunch_s_asm
.globl cpct_disableFirmware_asm



;;constantes

.globl _fedora_sprites_00
.globl _fedora_sprites_01
.globl _fedora_sprites_02
.globl _fedora_sprites_03
.globl _fedora_sprites_04
.globl _fedora_sprites_05
.globl _fedora_sprites_06
.globl _fedora_sprites_07
.globl _fedora_sprites_08
.globl _fedora_sprites_09
.globl _fedora_sprites_10
.globl _fedora_sprites_11

.globl _fedora_bloques_0
.globl _fedora_bloques_1
.globl _fedora_bloques2
.globl _fedora_bloques3
.globl _fedora_bloques4
.globl _fedora_bloques5

.globl _fedora_puerta_0
.globl _fedora_puerta_1

.globl _fedora_diamante
.globl _fedora_pal

