sábado, 15 de febrero de 2025

Nesfab

Nuevo lenguaje para hacer juegos en kf Nes.

Claramente con target 6502.

Ejemplo:
// This small program plays a sound effect. // Variables: vars /sound UU pitch = 1000 // Sends 'pitch' variable to the APU, emitting sound: fn play_sound() {$4015}(%100) {$4008}($FF) {$400A}(pitch.a) {$400B}(pitch.b & %111) mode main() {PPUCTRL}(%10000000) while true pitch *= 1.01 play_sound() nmi
 

 

https://pubby.games/nesfab.html

https://github.com/pubby/nesfab

No hay comentarios.:

Publicar un comentario