[zxspectrum] Re: ZXASM - problema con librerie

  • From: Luca Alimandi <luca.alimandi62@xxxxxxxxxxx>
  • To: zxspectrum@xxxxxxxxxxxxx
  • Date: Sun, 19 Jun 2016 19:15:37 +0200

Il 19/06/2016 19:00, Enrico Maria Giordano ha scritto:



Il 19/06/2016 17:36, Luca Alimandi ha scritto:

C'è un modo per poter usare le variabili globali con le librerie?

Sì, usare la direttiva DEFP (DEFine Public):

VAR DEFP 0

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg



Domanda: questa direttiva vale solo per DEFB, o per DEFW, o DEFM o per tutte? Cioè con DEFP posso dichiarare solo una variabile byte, o anche word e messaggi?


--

|_ /-\


Other related posts: