Forum
BritLion's High Res Print - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: How-To & Tutorials (https://www.boriel.com/forum/forumdisplay.php?fid=13)
+---- Thread: BritLion's High Res Print (/showthread.php?tid=262)

Pages: 1 2


Re: BritLion's High Res Print - Baptiste - 07-22-2016

Hello,

The function refuses to display my sprite to 0,0 . The minimum coordinates 1.1 . So, the display causes color clashes . Why ?

Thank you.


Re: BritLion's High Res Print - Baptiste - 07-22-2016

Here a example of my problem :
Code:
#include "HRPrintFast.bas"
    dim x as uByte
    x=0
    
    CLS
    DO
    HRPrintFast(x,x,@gentle,56,1)
    HRPrintFast(x+8,x,@gentle+8,56,1)
    HRPrintFast(x,x+8,@gentle+16,56,1)
    HRPrintFast(x+8,x+8,@gentle+24,56,1)
    LOOP

gentle:
asm
defb 15,15,15,15,15,15,13,15
defb 240,144,208,208,240,240,176,240
defb 15,14,63,0,0,12,26,30
defb 176,112,252,0,0,24,104,120
end asm

But if x=1, my sprite show it. Curious ?


Re: BritLion's High Res Print - Kenan - 12-21-2017

Hello could you pls send the "tap" format of these code... All the best


Re: BritLion's High Res Print - britlion - 12-26-2017

Kenan Wrote:Hello could you pls send the "tap" format of these code... All the best

Not really? It's not a game - it's a code snippet, meant to be used in other programs. By itself it doesn't do anything - it's a function. It needs to be run through the compiler, and then in context, the binary makes sense. It wouldn't be relocatable, so as a binary, it's not going to be very helpful on its own.