Skip to content

Commit

Permalink
Version 0.2.1
Browse files Browse the repository at this point in the history
2020-04-11 Ver.0.2.1.
--------------------------------------------------------------------------------
- Compilado usando la actualización de MSX N'gine, que incorporaba algunas optimizaciones en la llamada de rutinas del BIOS. (Gracias a Néstor Sancho)
  • Loading branch information
knightfox75 committed Apr 11, 2020
1 parent eebc96b commit dbc7671
Show file tree
Hide file tree
Showing 22 changed files with 287 additions and 112 deletions.
58 changes: 37 additions & 21 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
MSX N'gine is distributed under CREATIVE COMMONS licence:
"Attribution-NonCommercial 4.0 International"
https://creativecommons.org/licenses/by-nc/4.0/
--------------------------------------------------------------------------------

You are free to:
N'gine para MSX Asm Z80

https://nightfoxandco.com/
[email protected]

- Share
copy and redistribute the material in any medium or format.
- Adapt
remix, transform, and build upon the material.
--------------------------------------------------------------------------------

The licensor cannot revoke these freedoms as long as you follow
the license terms.

Under the following terms:
N'gine para MSX Asm Z80 se distribuye bajo la licencia CREATIVE COMMONS
"Attribution-NonCommercial 4.0 International"
https://creativecommons.org/licenses/by-nc/4.0/

- Attribution
You must give appropriate credit, provide a link to the license,
and indicate if changes were made. You may do so in any reasonable
manner, but not in any way that suggests the licensor endorses you
or your use.
You are free to:

- NonCommercial
You may not use the material for commercial purposes.
- Share
copy and redistribute the material in any medium or format.
- Adapt
remix, transform, and build upon the material.

The licensor cannot revoke these freedoms as long as you follow
the license terms.

Under the following terms:

- Attribution
You must give appropriate credit, provide a link to the license,
and indicate if changes were made. You may do so in any reasonable
manner, but not in any way that suggests the licensor endorses you
or your use.

- NonCommercial
You may not use the material for commercial purposes.

- No additional restrictions
You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.


DESCARGO DE RESPONSABILIDAD. EL SOFTWARE SE CONCEDE CON LICENCIA “TAL CUAL”.
POR CONSIGUIENTE, USTED ASUME EL RIESGO DE UTILIZARLO.
NO SE OTORGA NINGUNA GARANTÍA NI CONDICIÓN EXPLÍCITAS.

- No additional restrictions
You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
# msx_ngine
Small game engine written in Z80 assembler for MSX. Based upon ASMSX compiler.
--------------------------------------------------------------------------------

N'gine para MSX Asm Z80

https://nightfoxandco.com/
[email protected]

--------------------------------------------------------------------------------

N'gine para MSX Asm Z80 es una librería de lenguaje ensamblador del procesador
Zilog Z80 destinada a ayudar al desarrollo de software para los ordenadores de
la familia MSX. La sintaxis está orientada al compilador asMSX.

https://github.com/Fubukimaru/asMSX

8 changes: 8 additions & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--------------------------------------------------------------------------------
N'gine para MSX Asm Z80 Changelog
--------------------------------------------------------------------------------

2020-04-11 Ver.0.2.1.
--------------------------------------------------------------------------------
- Compilado usando la actualizaci�n de MSX N'gine, que incorporaba algunas
optimizaciones en la llamada de rutinas del BIOS. (Gracias a N�stor Sancho)
44 changes: 44 additions & 0 deletions docs/licence.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
--------------------------------------------------------------------------------

N'gine para MSX Asm Z80

https://nightfoxandco.com/
[email protected]

--------------------------------------------------------------------------------


N'gine para MSX Asm Z80 se distribuye bajo la licencia CREATIVE COMMONS
"Attribution-NonCommercial 4.0 International"
https://creativecommons.org/licenses/by-nc/4.0/

You are free to:

- Share
copy and redistribute the material in any medium or format.
- Adapt
remix, transform, and build upon the material.

The licensor cannot revoke these freedoms as long as you follow
the license terms.

Under the following terms:

- Attribution
You must give appropriate credit, provide a link to the license,
and indicate if changes were made. You may do so in any reasonable
manner, but not in any way that suggests the licensor endorses you
or your use.

- NonCommercial
You may not use the material for commercial purposes.

- No additional restrictions
You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.


DESCARGO DE RESPONSABILIDAD. EL SOFTWARE SE CONCEDE CON LICENCIA �TAL CUAL�.
POR CONSIGUIENTE, USTED ASUME EL RIESGO DE UTILIZARLO.
NO SE OTORGA NINGUNA GARANT�A NI CONDICI�N EXPL�CITAS.

15 changes: 15 additions & 0 deletions docs/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--------------------------------------------------------------------------------

N'gine para MSX Asm Z80

https://nightfoxandco.com/
[email protected]

--------------------------------------------------------------------------------

N'gine para MSX Asm Z80 es una librería de lenguaje ensamblador del procesador
Zilog Z80 destinada a ayudar al desarrollo de software para los ordenadores de
la familia MSX. La sintaxis está orientada al compilador asMSX.

https://github.com/Fubukimaru/asMSX

12 changes: 6 additions & 6 deletions lib_source/formats/f_binary.asm
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@





;***********************************************************
; Directivas para el compilador
;***********************************************************

OUTPUT_FORMAT = 1 ; Define el formato de salida

; ----------------------------------------------------------
; Directivas del formato
; ----------------------------------------------------------

.ORG $8000 ; Selecciona la pagina 2 [$8000] (Codigo del programa)
.BASIC ; Se creara el binario en formato BASIC de hasta 32kb
.START PROGRAM_START_ADDRESS ; Indicale al compilador donde empieza el programa

OUTPUT_FORMAT = 1 ; Define el formato de salida
; Indicale al compilador donde empieza el programa
.START PROGRAM_START_ADDRESS


; ----------------------------------------------------------
; Definicion de variables [PAGE 3] $C000
; Definicion de variables
; ----------------------------------------------------------

; Almacena las variables
.INCLUDE "ngn/ngn_vars.asm"



;***********************************************************
; Fin del archivo
;***********************************************************
Expand Down
49 changes: 49 additions & 0 deletions lib_source/formats/f_cas.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
;***********************************************************
;
; NGN TEMPLATE para ASMSX
; ASM Z80 MSX
; Directivas de compilacion para BINARIO de 32kb
; Genera un archivo .CAS y .WAV
;
; (cc) 2018-2020 Cesar Rincon "NightFox"
; https://nightfoxandco.com
;
;
; Compilar con asMSX 0.19 o superior
; https://github.com/Fubukimaru/asMSX
;
;***********************************************************



;***********************************************************
; Directivas para el compilador
;***********************************************************

OUTPUT_FORMAT = 4 ; Define el formato de salida

; ----------------------------------------------------------
; Directivas del formato
; ----------------------------------------------------------

.ORG $8000 ; Selecciona la pagina 2 [$8000] (Codigo del programa)
.BASIC ; Se creara el binario en formato BASIC de hasta 32kb
.CAS ; Genera el archivo .CAS
.WAV ; Genera el archivo .WAV

; Indicale al compilador donde empieza el programa
.START PROGRAM_START_ADDRESS

; ----------------------------------------------------------
; Definicion de variables
; ----------------------------------------------------------

; Almacena las variables
.INCLUDE "ngn/ngn_vars.asm"



;***********************************************************
; Fin del archivo
;***********************************************************
F_CAS_EOF:
43 changes: 43 additions & 0 deletions lib_source/formats/f_com.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
;***********************************************************
;
; NGN TEMPLATE para ASMSX
; ASM Z80 MSX
; Directivas de compilacion para .COM de MSX-DOS
;
; (cc) 2018-2020 Cesar Rincon "NightFox"
; https://nightfoxandco.com
;
;
; Compilar con asMSX 0.19 o superior
; https://github.com/Fubukimaru/asMSX
;
;***********************************************************



;***********************************************************
; Directivas para el compilador
;***********************************************************

OUTPUT_FORMAT = 3 ; Define el formato de salida

; ----------------------------------------------------------
; Directivas del formato
; ----------------------------------------------------------

; Los programas de MSX-DOS no requieren direccion inicial
.MSXDOS ; Se creara el binario en formato .COM para MSX-DOS


; ----------------------------------------------------------
; Definicion de variables
; ----------------------------------------------------------

; Almacena las variables
.INCLUDE "ngn/ngn_vars.asm"


;***********************************************************
; Fin del archivo
;***********************************************************
F_COM_EOF:
12 changes: 5 additions & 7 deletions lib_source/formats/f_rom.asm
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@





;***********************************************************
; Directivas para el compilador
;***********************************************************

OUTPUT_FORMAT = 2 ; Define el formato de salida

; ----------------------------------------------------------
; Definicion de variables [PAGE 3] $C000
; ----------------------------------------------------------
Expand All @@ -30,18 +30,16 @@
.INCLUDE "ngn/ngn_vars.asm"



; ----------------------------------------------------------
; Directivas del formato
; ----------------------------------------------------------

.PAGE 1 ; Selecciona la pagina 1 [$4000] (Codigo del programa)
.ROM ; Se creara el binario en formato ROM de hasta 32kb
.START PROGRAM_START_ADDRESS ; Indicale al compilador donde empieza el programa
.db 78, 71, 78, 95, 84, 69, 77, 80, 76, 65, 84, 69 ; 12 digitos para completar la cabecera de la ROM

OUTPUT_FORMAT = 2 ; Define el formato de salida
.db 77, 83, 88, 95, 68, 73, 65, 71, 0, 0, 0, 0 ; 12 digitos para completar la cabecera de la ROM

; Indicale al compilador donde empieza el programa
.START PROGRAM_START_ADDRESS


;***********************************************************
Expand Down
3 changes: 1 addition & 2 deletions lib_source/ngn/ngn.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;***********************************************************
;
; N'gine para MSX Asm Z80
; Version 0.2.0-a
; Version 0.2.1-a
;
; (cc) 2018-2020 Cesar Rincon "NightFox"
; https://nightfoxandco.com
Expand Down Expand Up @@ -40,7 +40,6 @@
.INCLUDE "ngn/ngn_start.asm"

; Fin de los includes de la libreria
ret



Expand Down
12 changes: 5 additions & 7 deletions lib_source/ngn/ngn_background.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;***********************************************************
;
; N'gine para MSX Asm Z80
; Version 0.2.0-a
; Version 0.2.1-a
;
; (cc) 2018-2020 Cesar Rincon "NightFox"
; https://nightfoxandco.com
Expand Down Expand Up @@ -91,10 +91,9 @@ NGN_BACKGROUND_CREATE:


; Habilita la pantalla
call $0044 ; Ejecuta la rutina [ENASCR]
jp $0044 ; Ejecuta la rutina [ENASCR]

; Fin de la rutina de carga
ret
; El RET lo aplica la propia rutina de BIOS



Expand Down Expand Up @@ -197,10 +196,9 @@ NGN_BACKGROUND_CREATE_RLE:
call @@DATA_TO_VRAM

; Habilita la pantalla
call $0044 ; Ejecuta la rutina [ENASCR]
jp $0044 ; Ejecuta la rutina [ENASCR]

; Fin de la rutina de carga
ret
; El RET lo aplica la propia rutina de BIOS



Expand Down
Loading

0 comments on commit dbc7671

Please sign in to comment.