git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 64eb14fb979411f2346717dfd2c574705a8e8cb2
parent 6228cdd9202e5071f713309ae62b2c7d2ccce9fc
Author: Toxa <untoxa@mail.ru>
Date:   Mon,  9 Jun 2025 00:46:56 +0300

SMS/GG/MSX remove broken and unused FAST_DIV8 macro

Diffstat:
Mgbdk-lib/libc/targets/z80/gg/global.s8--------
Mgbdk-lib/libc/targets/z80/msxdos/global.s8--------
Mgbdk-lib/libc/targets/z80/sms/global.s8--------
3 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/gbdk-lib/libc/targets/z80/gg/global.s b/gbdk-lib/libc/targets/z80/gg/global.s @@ -359,14 +359,6 @@ lbl2: add divisor lbl: .endm -.macro FAST_DIV8 divident divisor - ; returns modulus in A - .rept 8 - DIV_PART divident divisor - .endm - ld a, divident - cpl -.endm .macro FAST_MOD8 divident divisor ; returns modulus in A .rept 8 diff --git a/gbdk-lib/libc/targets/z80/msxdos/global.s b/gbdk-lib/libc/targets/z80/msxdos/global.s @@ -422,14 +422,6 @@ lbl2: add divisor lbl: .endm -.macro FAST_DIV8 divident divisor - ; returns modulus in A - .rept 8 - DIV_PART divident divisor - .endm - ld a, divident - cpl -.endm .macro FAST_MOD8 divident divisor ; returns modulus in A .rept 8 diff --git a/gbdk-lib/libc/targets/z80/sms/global.s b/gbdk-lib/libc/targets/z80/sms/global.s @@ -361,14 +361,6 @@ lbl2: add divisor lbl: .endm -.macro FAST_DIV8 divident divisor - ; returns modulus in A - .rept 8 - DIV_PART divident divisor - .endm - ld a, divident - cpl -.endm .macro FAST_MOD8 divident divisor ; returns modulus in A .rept 8

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.