Questions, bug reports, features requests, ... about the Oric Software Development Kit. Please indicate clearly in the title the related element (OSDK for generic questions, PictConv, FilePack, XA, Euphoric, etc...) to make it easy to locate messages.
can be used to allign to a page boundary, but does anyone know how i can allign to half a page boundary or an exact low address?
Essentially, i am creating a backup of the screen ($bb80) and need to restore parts of it, passing the screen address to the routine.
can be used to allign to a page boundary, but does anyone know how i can allign to half a page boundary or an exact low address?
Essentially, i am creating a backup of the screen ($bb80) and need to restore parts of it, passing the screen address to the routine.
Well, in theory we should use the .align directives, but I never managed to understand how they work.
What the line do, is to reserve a number of bytes (.dsb) equal to 256 minus the current position of the program counter (*) modulo 255.
So I guess that for you the following would do it: