Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
not updating the DF CC variable
#1
Hi

In the original ZX spectrum basic when you PRINT something the variable DF CC is updated with the screen position

for example the next program must print 16384 that is the first position of the screen

but the only answer always with every diferent position is 16448

this means that the print routine is not updating the DF CC variable like the original ROM

Is this a bug?

You can try this program and change the coordinates of the first print 0,0

Code:
dim myScreen as uInteger

print at 0,0; 
myScreen = peek (uInteger, 23684)  '' 23684 = DFCC = Must be screen position after every print
print at 10,10; myScreen
Reply


Messages In This Thread
not updating the DF CC variable - by maeloterkim - 10-01-2021, 08:46 AM
RE: not updating the DF CC variable - by boriel - 10-01-2021, 09:55 AM
RE: not updating the DF CC variable - by boriel - 10-01-2021, 09:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)