Search found 218 matches

by C.Born
Sun Jan 28, 2024 7:08 pm
Forum: Programming
Topic: Understanding BASIC memory map
Replies: 16
Views: 825

Re: Understanding BASIC memory map

Also, just a reminder, CLEAR can be used in a running BASIC program, like so: 10 PRINT "one" 20 PAUSE 150 30 CLEAR 60000 40 PRINT "two" But keep in mind that CLEAR also clears the screen and clears any current variables in use. Hence if you have any data in variables, you need t...
by C.Born
Sun Jan 28, 2024 6:28 pm
Forum: Programming
Topic: Best way to fill screen in basic?
Replies: 26
Views: 1526

Re: Best way to fill screen in basic?

very cool to see such a lot off giga developement do you know that with img2spectrum you can write your own basic loader and use that? its in the "custum" bar, there you select your own basic loader. just put it in your work map and select before you start. i have no soluttion for the ever...
by C.Born
Sun Jan 28, 2024 3:30 pm
Forum: Programming
Topic: Z80 assembly development environment recommendations
Replies: 31
Views: 1252

Re: Z80 assembly development environment recommendations

I use sjasmplus assembler which also generates TAP files if you want them. I think pasmo can do that as well (not sure really). I think sjasmplus has better macro support than pasmo. pasmo can do if you SET the start value at the END of the file, see docu but only 1 single standard start-basic. its...
by C.Born
Sat Jan 27, 2024 11:00 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

::swetty-icon:: hope i fixed it good: the size off the chr$ SAVED data is still wrong, i have to put the 9bytes FAST screen on top but the editor part should be "avilable" now 10 DATA VAL "3",VAL "5",VAL "160",VAL "9+fl*8": DEF FN p(a)=PEEK a+VAL &qu...
by C.Born
Sat Jan 27, 2024 9:26 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

some went wrong since this is NOT what should be the last version.
i did change key 0 and 5, but above it aint.
did i kill a routine with a disc switch on an emulator?
i switched disc inbetween for sure
wel, ehu, see you soon
by C.Born
Sat Jan 27, 2024 6:24 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

the routine aims on 8x8 characters OR SMALLER, anywhere on screen there is limited error control, it might have an error the PIXEL cursor is "top left" of the image you copy from screen in LINE 10, the DATA LINE you have to set the wanted size, from 1x1 to 8x8, no checks made 10 DATA VAL &...
by C.Born
Sat Jan 27, 2024 6:04 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

Getting close now its still rumbly but in 16k with 160 characters there is 175 bytes free, hmm, make that 92 the screen shows 2175 BUT when s$=a$ then the 2k screen part is TWICE in mem costing a mere 4k for a split second only but cocoon is cocoon, said the catapilar so in 48k thats twice 6144 btw ...
by C.Born
Wed Jan 24, 2024 1:13 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

the safety measure backfired but should be repairde now it messures now a 2048 vs 6144 size screen in 16 vs 48 k i hope it all workd key 5 has strange beviour some how i mix sh vs NOT sh but the furture of key 5 is the editor for BITwise correction about 3k free memory in 16k 10 DATA VAL "0&quo...
by C.Born
Tue Jan 23, 2024 10:38 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

i came up to a VERY anoying "bug" if you RE-START it WIPES ALL so i had to build in an "DO NOT WIPE" my work result its a REM statement with a "-" sign , at the END off line 10 its re-poked to an "+", thats all actualy the other TODO's are still listed /// 10 ...
by C.Born
Tue Jan 23, 2024 9:23 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

and one more step, an almost complete 3w x 5h Font from @Grongy

Grongy's Graphics tread :
viewtopic.php?p=135575#p135575

probably i should make a "PRINT DEFB x,x ROUTINE"
by C.Born
Tue Jan 23, 2024 8:56 pm
Forum: Graphics
Topic: Showcasing my graphics
Replies: 429
Views: 35413

Re: Showcasing my graphics

just an attempt to start with, whith which i was already bussy a bit https://spectrumcomputing.co.uk/forums/viewtopic.php?f=6&t=10797 end a result, although the font apears not fully complete, 9 characters a not made that asks for an editor inside the Screen To Char Toy, original from +3code , ...
by C.Born
Tue Jan 23, 2024 2:03 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

getting closer !! i can start tidying a bit now and i need a 16k/48k solution as in a 1/3rd and whole FAST screen. 10 DATA VAL "0",VAL "3",VAL "5",VAL "96": DEF FN p(a)=PEEK a+VAL "256"*PEEK (a+SGN PI): DEF FN q(a)=VAL "256"*PEEK a+PEEK (a+...
by C.Born
Sun Jan 21, 2024 3:48 am
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

so, its getting a bit messy, on TOP 0,0 it works but a few byte to the middle and it start to do wierd !!!! :oops: :roll: :evil: :cry: :dance this works HALF and if you want to TEST it, you are welcome its still a 16k program with about 3500 free bytes at run time QAOP and qaop BOTH work 0 = select ...
by C.Born
Sat Jan 20, 2024 3:19 pm
Forum: Programming
Topic: Editing basic on a spectrum
Replies: 10
Views: 622

Re: Editing basic on a spectrum

you should NOT fear your zx and run off to an emulator this is correct to start with In a real 48K Spectrum, if you want to edit a line in BASIC you should press CAPS SHIFT and 1, so you edit the selected line Or if you want to change the selected line, then press CAPS SHIFT and 6, or 7 (down or up)...
by C.Born
Sun Jan 14, 2024 4:52 pm
Forum: Graphics
Topic: gigaviewer
Replies: 12
Views: 822

Re: gigaviewer

If it's having issues on the older models, but not the +2A, my first suspicion would be the I register is pointing at contended RAM, as that can be a source of issues in that case. its reversed but thats somewhere the same it was my second guess that IM 1 is wrong indeed from above SECOND asm, ther...
by C.Born
Fri Jan 12, 2024 8:04 pm
Forum: Programming
Topic: Questions about FZX
Replies: 28
Views: 4964

Re: Questions about FZX

Seven.FFF wrote: Fri Jan 12, 2024 5:36 pm (..) the name DesktopFontEditorFZX.tap implies there is an inbuilt editor,(..)
yes indeed thats the whole point, thank you for understanding my simple disapointment
cheers
by C.Born
Fri Jan 12, 2024 10:10 am
Forum: Programming
Topic: Questions about FZX
Replies: 28
Views: 4964

Re: Questions about FZX

thanks for the link, but that for Windows only, aka "outside zx" i mean "no excuse for no native editor" and i think what is called an editor is the driver with al examples. meaning that in de ZXDATA base a wrong name is used, like you say , there AINT an editor IN THAT ZIP file ...
by C.Born
Fri Jan 12, 2024 9:58 am
Forum: Graphics
Topic: gigaviewer
Replies: 12
Views: 822

Re: gigaviewer

@C.Born on my real grey +2 with a divide 53.c card your woot giga demo doesn't seem to work. Only the first screen loads, then it crashes horribly if you press a key. Sorry it is toastrack aligned. but may i ask how the picture looks? and you say that after the the key press it crashes, that means ...
by C.Born
Thu Jan 11, 2024 7:31 pm
Forum: Programming
Topic: Questions about FZX
Replies: 28
Views: 4964

Re: Questions about FZX

WHY is the fzx DEMO called an EDITOR while thats al it AINT ?? https://spectrumcomputing.co.uk/entry/28182/ZX-Spectrum/DesktopFontEditorFZX sorry, but i dont get it. and i am on linux so escape routes like a) out side zx b) abandonware on overregistered systems c) forgot to implement are NO excuse :...
by C.Born
Thu Jan 11, 2024 11:05 am
Forum: Graphics
Topic: gigaviewer
Replies: 12
Views: 822

Re: gigaviewer

LCD dont have a scanline, they preprocess in someway and switch memory on and off.
my viewer is old fashioned becouse the hardware is old fashioned, odear. :shock:
by C.Born
Thu Jan 11, 2024 12:05 am
Forum: Graphics
Topic: gigaviewer
Replies: 12
Views: 822

Re: gigaviewer

Hi well, not for above gigaviewer ASM file , then you first have to compile the basic and of course the asm 5 CLEAR VAL "32999": LET rt=SGN PI+PEEK VAL "23730"+VAL "256"*PEEK VAL "23731": PRINT "@";rt''TAB VAL "5"; BRIGHT SGN PI; FLASH SGN ...
by C.Born
Tue Jan 09, 2024 3:26 am
Forum: Programming
Topic: small type-in FORMAT vol7
Replies: 9
Views: 458

Re: small type-in FORMAT vol7

Ah, so this is a DiSCIPLE execute file that modifies the DOS print routines? no , its just the internal greyscale table https://www.biehold.nl/rudy/disciple/printer.htm in DISCiPLE nieuwsbrief there was a patch for it and i permanently put it in my work system. i think only RealSpectrum has a corre...
by C.Born
Tue Jan 09, 2024 3:14 am
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

You can find here a good explanation of the DEFADD trick, maybe it can help you: https://oldmachinery.blogspot.com/2014/04/zx-sprites.html?m=1 very informative, but i did not see a defadd reference, does not matter, he has a paintbox asweel, although not for gigascreens meanwhilei encountered an &q...
by C.Born
Mon Jan 08, 2024 7:26 pm
Forum: Programming
Topic: read W x H chr$ from screen in basic attempt
Replies: 24
Views: 1165

Re: read W x H chr$ from screen in basic attempt

I know the DEFADD trick, but it's too much esoteric to me, I can't help, sorry. you already did! its your routine although 'ported' to a shorter/compacter type of basic. and i could never have done this without Battle Bunny aproach. :dance after an out of memory on the 16k i stripped it a bit and s...
by C.Born
Mon Jan 08, 2024 7:02 pm
Forum: Programming
Topic: small type-in FORMAT vol7
Replies: 9
Views: 458

Re: small type-in FORMAT vol7

is it that easy ? the coder would have liked to know that since in the txt its explained he did not know i was looking were to put it https://www.biehold.nl/rudy/disciple/ramlayou.htm https://www.biehold.nl/rudy/plusd/patches.htm but just move the 'x' to the place off the adress. i had a patch for s...