Search found 210 matches
- Tue Apr 16, 2024 10:44 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 4
- Views: 283
Re: starting with elias-gamma
so, you only have to set (hl),0 inc hl (hl),elias and virtualy you are done if you count that 2^b bit i did not test this one but i want to know if its use-able for an zx0 ON Z80 machine its stupid, i warn you and in the C the elias is "optimised " directly after use. its feels like b64, s...
- Sun Apr 14, 2024 11:32 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 4
- Views: 283
Re: starting with elias-gamma
So, there is NO elias-gamma NULL , took me some time to realise that one ... :D :P :shock: :mrgreen: :roll: :evil: :?: :!: now its 98,7 % or some but it should write the encoding correct in mem, which is actualy just a shift with 8 bytes inside 16 bytes, so why dont i do that? since i wanted to see ...
- Tue Apr 09, 2024 1:52 am
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 4
- Views: 283
Re: starting with elias-gamma
NO IT aint working, yet but its at least working a bit, i had one stupid error , forgot exx hl BUT my basic part has severall QUOTE signs and inside and Token will be written in txt, with bas2tap,zmakebas AND txt2emu, so i quited that for now but i have to make it visual in memory so i will try diff...
- Sun Apr 07, 2024 5:46 pm
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 4
- Views: 283
Re: starting with elias-gamma
well i made a crash by overwriting BASIC, but how and why ??? ; use ; eliasg021 ; pasmo -d --tap --name eliasg021 eliasg021.asm eliasg021.tap eliasg021.symbol ; cat elias.tap eliasg021.tap > eliasgamma021.tap ; bas2tap -selias -a10 eliasMCloader.bas elias.tap ; 10 DEF FN b$(d)=VAL$ ((CHR$ 193+"...
- Sun Apr 07, 2024 3:42 am
- Forum: Programming
- Topic: starting with elias-gamma
- Replies: 4
- Views: 283
starting with elias-gamma
https://en.wikipedia.org/wiki/Elias_gamma_coding 10 DEF FN b$(d)=VAL$ ((CHR$ 193+"d" AND d<=1)+(("FN b$(INT (d/2))+"+CHR$ 193+STR$ ((d/2)<>INT (d/2))) AND d>1)): DEF FN b(a$)=VAL (CHR$ 196+a$) 20 FOR f=0 TO 255 25 LET a$=FN b$(f) 30 PRINT TAB 3-LEN STR$ f;f;" ";a$;TAB 1...
- Thu Apr 04, 2024 2:11 pm
- Forum: Programming
- Topic: Bank switching issue
- Replies: 32
- Views: 1080
Re: Bank switching issue
Hi wanted to mention "Logic RAM Banks" although you probably solved to problem there are TWO ways off counting the memory banks while they are the same chip https://github.com/ZXSpectrumVault/rom-disassemblies/blob/master/Spectrum%20128K/Spectrum128_ROM0.asm it mentions the difference in a...
- Wed Apr 03, 2024 2:28 am
- Forum: Programming
- Topic: A new data compressor called ZX0
- Replies: 284
- Views: 20559
Re: A new data compressor called ZX0
nah, it aint cheating when ZX can do it btw, i realized, if zcc is used its better to avoid those IX and IY.. startdef ld hl,(DEF_ADR) ; hl = actual RAM location in BASIC listing at position off the DEF FN ld de,(mode) ld bc,4 add hl,bc ; adres+4 = var f rrc (hl) rlca ld c,8 add hl,bc ; adres+4+8 = ...
- Wed Apr 03, 2024 1:56 am
- Forum: Programming
- Topic: A new data compressor called ZX0
- Replies: 284
- Views: 20559
Re: A new data compressor called ZX0
Hi how big is the change that zx0 will compress at a z80 machine? zcc DOES compile zcc +zx -vn -zorg0x5f00 zx0.c optimize.c compress.c memory.c -ozx0 -DAMALLOC -lndos -create-app BUT zx0 uses ARG[] in main if zx0.c was written for a zx memory, will the other parts compres? # JUST THEORY PSEUDO CODE ...
- Wed Mar 27, 2024 11:15 pm
- Forum: Preservation
- Topic: How to get data off MGT +D disks
- Replies: 6
- Views: 240
Re: How to get data off MGT +D disks
A standard USB-floppy probably won’t do, as it doesn’t give low-level enough access to the disk (as far as I understand). afai understand and read an UBS drive is a 9sector per track device while it should be 10 per track. i am not sure since format is a software matter, but modern tech has it own ...
- Mon Mar 25, 2024 9:23 pm
- Forum: Sinclair Miscellaneous
- Topic: The Ballad of Sir Clive
- Replies: 4
- Views: 247
Re: The Ballad of Sir Clive
cool and disturbing
i realize i have to reconfigure my woot not only with real names, but with real chronos aswell
btw, does it come with lyrics?
i realize i have to reconfigure my woot not only with real names, but with real chronos aswell
btw, does it come with lyrics?
- Sun Mar 24, 2024 11:33 pm
- Forum: Programming
- Topic: Machine Code: Moving from Attribute scrolling to pixel scrolling
- Replies: 33
- Views: 848
Re: Machine Code: Moving from Attribute scrolling to pixel scrolling
Forgot to post the link where I got the info about the raster from https://worldofspectrum.org/faq/reference/48kreference.htm i have my own notations, hope it helps a little the IM2 is not needed offcourse ; http://www.worldofspectrum.net/faq/reference/128kreference.htm ; model -128k -timings in T-...
- Sat Mar 23, 2024 3:31 pm
- Forum: Programming
- Topic: bas2tap bug in DEF FN x$()
- Replies: 1
- Views: 97
bas2tap bug in DEF FN x$()
Hi i have a piece off basic on which bas2tap fails 10 DEF FN D$(a)="HALLO" 20 PRINT FN D$() 30 LET e$=FN d$() it gives an error Desktop/zx/zx/gigaflip$ ./bas2tap DEFtest.bas DEFtest.tap BAS2TAP v2.6 by Martijn van der Heide of ThunderWare Research Center Creating output file DEFtest.tap ER...
- Wed Feb 21, 2024 4:43 pm
- Forum: Website
- Topic: "Sorry but you cannot use search at this time..."
- Replies: 16
- Views: 521
Re: "Sorry but you cannot use search at this time..."
they have to make a big difference in their approach that litteraly 2 second "delay" couild have been hidden instead off a total block if its introusion by a bot then the 2 sec might be enough to check some double domains perhaps and maybe a small algo that count up wait time instead of ju...
- Wed Feb 21, 2024 4:36 pm
- Forum: Brand new software!
- Topic: Flexuous Avifauna
- Replies: 4
- Views: 381
Re: Flexuous Avifauna
the example image has a high score offff
30
thats 3 poles indeed
i did 1 and a half, i think to remember
30
thats 3 poles indeed
i did 1 and a half, i think to remember
- Tue Feb 20, 2024 1:48 pm
- Forum: Website
- Topic: "Sorry but you cannot use search at this time..."
- Replies: 16
- Views: 521
Re: "Sorry but you cannot use search at this time..."
ok, sytems are smarter and smarter, but then still there has to be a clue about that result else there wont be a "next page"
- Tue Feb 20, 2024 1:46 pm
- Forum: Programming
- Topic: ZX BASIC syntax highlighter
- Replies: 9
- Views: 684
Re: ZX BASIC syntax highlighter
Hi I installed subliemeditor and the 2 sets of highlite testing on a pure basic file it show the line number in BLUE but only up to 999 from 1000 and above they become orange like the INT values is it ment to be that all line numbers are blue then you have a small typo/bug some where i use linux min...
- Tue Feb 20, 2024 1:18 pm
- Forum: Website
- Topic: "Sorry but you cannot use search at this time..."
- Replies: 16
- Views: 521
Re: "Sorry but you cannot use search at this time..."
i that case can you have a LONGER RSULT PAGE ??? since else its a WASTE of exact that searchTIME you protect so much with 10 PAGES off results the results MUST be found and thus the search already SUCCEEDED !! but there is that anoying script that blocks the content off this ALREADY FOUND RESULT so ...
- Fri Feb 16, 2024 1:46 pm
- Forum: Graphics
- Topic: now i need a picture
- Replies: 7
- Views: 681
Re: now i need a picture
just an simple update, i included the FASTscreen trick and a litle extra nerve 10 RUN 20: DEF FN p(p)=PEEK p+ 256*PEEK (p+1): DEF FN r()=FN p(23621) 20 RANDOMIZE : BORDER 1: CLEAR 49151: PRINT "Hallo"'"when READY Use 'o' & 'p'"''''"GOTO sets 'NEWPPC' sysvar": LET p=...
- Thu Feb 08, 2024 6:20 pm
- Forum: Games/Software
- Topic: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
- Replies: 403
- Views: 19859
Re: The comp.sys.sinclair Crap Games Competition 2021: 25th edition extravaganza!
@equinox Because I like truffles.... By priming the system variables: 23662/23663 OLDPPC - Line number to which CONTINUE jumps. 23664 OSPCC - Number within line of statement to which CONTINUE jumps. ...You can use CONTINUE effectively as a GOTO a sub-statement within a line. so 5 print "Hello ...
- Sun Feb 04, 2024 1:39 pm
- Forum: Website
- Topic: 2 second DELAY is FREAK ....
- Replies: 5
- Views: 427
Re: 2 second DELAY is FREAK ....
TECHNICLY
YOU
PUNISH ME
FOR
BEING
DYSLECTIC
FOR BEING
****ing
TBHISLEHTIC
sh*t ON IT!!!
YOU
PUNISH ME
FOR
BEING
DYSLECTIC
FOR BEING
****ing
TBHISLEHTIC
sh*t ON IT!!!
- Sun Feb 04, 2024 1:35 pm
- Forum: Website
- Topic: 2 second DELAY is FREAK ....
- Replies: 5
- Views: 427
2 second DELAY is FREAK ....
if i do a search
mistype some
then i get a
WAIT FOR 2 SECONDS
wat a FREAK DELAY
2 SECONDS ??????
READING THE FREAK LINE TAKES LONGER !!!!
please STOP
with FREAK DECISIONS
THAT DONT HELP
AT ALL!!!!!
mistype some
then i get a
WAIT FOR 2 SECONDS
wat a FREAK DELAY
2 SECONDS ??????
READING THE FREAK LINE TAKES LONGER !!!!
please STOP
with FREAK DECISIONS
THAT DONT HELP
AT ALL!!!!!
- Sun Jan 28, 2024 11: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 guess i nailed most buggy parts now it feels a kind off complete now, although it aint your welcome to share experience, is the result Still useable ??? 10 DATA VAL "3",VAL "5",VAL "128",VAL "9+fl*8": DEF FN p(a)=PEEK a+VAL "256"*PEEK (a+SGN PI): D...
- 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...
- 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...
- 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...