Search found 2 matches

by dlsa
Thu Jun 30, 2022 6:29 pm
Forum: ZX Spectrum Assembly Programming
Topic: Question about lesson S2 - Easy Sprites on the ZX Spectrum
Replies: 3
Views: 3148

Re: Question about lesson S2 - Easy Sprites on the ZX Spectrum

Hello, I know a little assembler for the Z80. My question comes from looking at the GetScreenPos routine. I just don't get why the value %00111000 you are anding to the c value in the a register. Sure this is probably related to the way the screen is layed out , but t I don't understand why that val...
by dlsa
Wed Jun 29, 2022 8:08 pm
Forum: ZX Spectrum Assembly Programming
Topic: Question about lesson S2 - Easy Sprites on the ZX Spectrum
Replies: 3
Views: 3148

Question about lesson S2 - Easy Sprites on the ZX Spectrum

Hello,

I am following the lesson and at the beginning on the routine labelled as 'GetScreenPos' I don't understand up to the 'ld e,a' statement. What is being done ?

Thanks,
Regards

Go to advanced search