Skip to content

Instantly share code, notes, and snippets.

View theNestruo's full-sized avatar

Néstor Sancho theNestruo

View GitHub Profile
@theNestruo
theNestruo / Yamaha_SKW-01.asm
Created January 9, 2023 07:46
Preliminar disassembly of Yamaha SKW-01 cartridge image
ORG 0000h
DB 18h
DB 36h ; '6'
; Referenced from 4440
; --- START PROC L0002 ---
L0002: ld hl,5E82h
@theNestruo
theNestruo / STEVEDOR.TXT
Created June 6, 2022 16:10
Stevedore (2020) (theNestruo & Wonder) [v1.2] license file for MSX1PACK 4.0
Stevedore (c) theNestruo & Wonder 2020
Distribution within MSX1PACK 4.0 explicitly allowed by theNestruo & Wonder.
---
This game is free to download but it is NOT FREELY DISTRIBUTABLE, neither digitally or on any physical format, without the explicit consent from theNestruo & Wonder.
You can find the official download link only at github.com/theNestruo and thenestruo.itch.io, and you can buy a physical copy of the game only at www.msxcartridgeshop.com.
No derivatives or adaptations of the work are permitted.
@theNestruo
theNestruo / Hole In One (1984) (Hal) (J).asm
Created December 8, 2021 17:50
Initialization of the MSX cartridge game: Hole In One (1984) (Hal)
; -----------------------------------------------------------------------------
ORG 8000h
DB "AB"
DW $8028 ; INIT
DW $8010 ; STATEMENT
DW $0000 ; DEVICE
DW $0000 ; TEXT
DW $0000 ; RESERVED
DW $0000 ; RESERVED
DW $0000 ; RESERVED
@theNestruo
theNestruo / cartridge.asm
Created September 7, 2021 07:40
Simplified MSXlib cartridge header, entry point and initialization
; =============================================================================
; MSX cartridge (ROM) header, entry point and initialization
; =============================================================================
IF (CFG_INIT_ROM_SIZE < 32)
org $4000, $4000 + (CFG_INIT_ROM_SIZE * $0400) - 1
ELSE
org $4000, $bfff
ENDIF ; IF (CFG_INIT_ROM_SIZE < 32)
void VPRINT(char column, char line, char* text)
{
uint vaddr = BASE10 + (line*32)+column; // calcula la posicion en la VRAM
VPOKEARRAY(vaddr, text);
}
void VPRINTNUMBER(char column, char line, char pLength, uint pNumber)
{
uint vaddr = BASE10 + (line*32) + column // calcula la posicion en la VRAM...
+ length - 1; // ...empezando por el dígito más a la derecha
@theNestruo
theNestruo / list.c
Created August 6, 2021 14:21
list.c by Vincent van Dam, modified by theNestruo
/****************************************************************************\
list v0.0
This programm will convert a MSX-BASIC file into an ascii file.
syntax: list [inputfile] [--help]
If no inputfile was specified, list will automaticly uses the stdin.
Vincent van Dam
(vandam@ronix.ptf.hro.nl)
@theNestruo
theNestruo / stevedore-passwords.html
Created January 16, 2021 15:51
Stevedore password generator
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- new.css -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1/new.min.css"> -->