IT
vcsLdaForBusStuff2(3V)Manuale di vcsLibvcsLdaForBusStuff2(3V)
Nome

vcsLdaForBusStuff2

Carica in A la maschera di cui la cartuccia ha bisogno per il bus stuffing.

Sinossi
#include "vcsLib.h"

void vcsLdaForBusStuff2(void);
Descrizione

A, X e Y devono contenere le maschere del firmware prima di usare vcsWrite3 o vcsWrite4. Ogni maschera lascia deboli i bit che la cartuccia sta per imporre.

Il firmware sceglie le maschere all’avvio, dopo aver misurato quali bit la console gli lascia sovrascrivere. Dato che il gioco non ne conosce il valore, non si possono caricare con vcsLda2.

Sul bus

Serve A9 mm e occupa 2 cicli del 6507. Sul bus appare così subito dopo una vcsJmp3:

φ2A12–A0D7–D0R/W$1000A9lda$1001M
1 lda #2 maschera

servito dalla cartuccia

Esempio
vcsLdaForBusStuff2();
vcsLdxForBusStuff2();
vcsLdyForBusStuff2();
Compatibilità

● completa ◐ funziona con differenze ○ esiste ma non fa nulla – assente ? non pubblicata

ImplementazionePer versioneNote
Stella
◐ 7.0 – 7.0c◐ master
Carica #$00.
Gopher2600
● v0.19.3● v0.20.0 – v0.35.3● v0.40.0● v0.41.0 – v0.50.1● v0.51.0 – v0.52.1● v0.53.0 – v0.57.0● v0.57.1 – v0.57.2● master
Carica #$FF. Le maschere sono fisse, e vcsWrite3 sostituisce comunque l’intero byte.
Test7800
● v0.1.0 – v0.7.2● v0.7.3 – v0.9.0
Carica #$FF, come Gopher2600.
PlusCart e UnoCart
● 2.3.15 – 2.3.28● 2.3.32
Chameleon Cart
– 2025-10-23
Non è nel firmware.
Newbroo Wild Cart e Decker
? 2026
VCSIDE
– 2026-11
Particolarità
Vedi anche

vcsWrite3(3V), vcsWrite4(3V)

vcsLib · dicembre 2026Bus stuffingvcsLdaForBusStuff2(3V)