Search found 517 matches
- Fri May 10, 2024 4:06 pm
- Forum: Programming
- Topic: BASin - How to load code from assembler?
- Replies: 7
- Views: 375
Re: BASin - How to load code from assembler?
These are uncompressed data? Yes, 70 fullscreens with 6912 byte and 70 dithered versions with 6144 byte. Due to the 16:9 aspect mode, 48 lines of data are thrown into the bin. The BASin profiler shows that it takes 2.8 frames for two LOAD operations. So it gets to about 230 Kb/s. I am reading docs ...
- Fri May 10, 2024 3:11 am
- Forum: Games/Software
- Topic: Why didn't the Spectrum have an FPS?
- Replies: 33
- Views: 815
- Thu May 09, 2024 6:14 am
- Forum: Programming
- Topic: BASin - How to load code from assembler?
- Replies: 7
- Views: 375
Re: BASin - How to load code from assembler?
Here's a warp effect that uses the file access feature from BASin. Currently a small Basic prog that LOADs the frames one by one and a small USR routine to throw the bytes onto the screen. The crisp effect is caused by loading the coloured frame directly followed by the dithered version of the same ...
- Wed May 08, 2024 2:16 pm
- Forum: Games/Software
- Topic: Guess the screen$
- Replies: 7955
- Views: 252035
Re: Guess the screen$
Oy! *bash*
- Wed May 08, 2024 2:13 pm
- Forum: Games/Software
- Topic: Guess the screen$
- Replies: 7955
- Views: 252035
- Wed May 08, 2024 9:31 am
- Forum: Games/Software
- Topic: Guess the screen$
- Replies: 7955
- Views: 252035
- Tue May 07, 2024 10:09 pm
- Forum: Games/Software
- Topic: Guess the screen$
- Replies: 7955
- Views: 252035
- Tue May 07, 2024 11:59 am
- Forum: Games/Software
- Topic: Guess the screen$
- Replies: 7955
- Views: 252035
Re: Guess the screen$
- Tue May 07, 2024 10:54 am
- Forum: Games/Software
- Topic: Guess the screen$
- Replies: 7955
- Views: 252035
Re: Guess the screen$
Fred?Juan F. Ramirez wrote: ↑Tue May 07, 2024 10:52 am That's a terrible game that I couldn't get it back in the day, formtunately.
My turn:
- Sat May 04, 2024 7:55 pm
- Forum: Games/Software
- Topic: Guess the screen$
- Replies: 7955
- Views: 252035
Re: Guess the screen$
Here's the palette from Fuse. And below, the same pic in ZX Paintbrush. I think Paintbrush is more accurate. Notice how blue and bright-blue hardly differ? In Fuse the contrast is somewhat cranked up beyond what's true on a CRT I think. And the non-bright red comes out as fox brown. :? https://i.pos...
- Wed May 01, 2024 7:10 pm
- Forum: ZXDB Fixes
- Topic: HELP WANTED: Magazine type-in page numbers!
- Replies: 34
- Views: 760
- Tue Apr 30, 2024 10:43 pm
- Forum: ZXDB Fixes
- Topic: HELP WANTED: Magazine type-in page numbers!
- Replies: 34
- Views: 760
- Tue Apr 30, 2024 12:52 am
- Forum: ZXDB Fixes
- Topic: HELP WANTED: Magazine type-in page numbers!
- Replies: 34
- Views: 760
Re: HELP WANTED: Magazine type-in page numbers!
This problem seems to happen when the original publication was published in parts, spread across different magazine issues. I will ask @pavero to check the submission forms code. In the meantime, please submit it as "Original=No" (with a short comment) and I will adjust your submission ac...
- Tue Apr 30, 2024 12:31 am
- Forum: ZXDB Fixes
- Topic: HELP WANTED: Magazine type-in page numbers!
- Replies: 34
- Views: 760
Re: HELP WANTED: Magazine type-in page numbers!
I did a few titles from Hebdogiciel mags but when I try to generate the request there's a popup "Original = Yes must be specified only once!". No idea what's causing this.
- Mon Apr 29, 2024 7:23 pm
- Forum: ZXDB Fixes
- Topic: HELP WANTED: Magazine type-in page numbers!
- Replies: 34
- Views: 760
Re: HELP WANTED: Magazine type-in page numbers!
I did: Helicos, Hop Hop, Harbor 2090, Schtroumpfs, Billard, Roger Le Macon.flatduckrecords wrote: ↑Mon Apr 29, 2024 7:06 pm I've added a few more, this time from TILT magazine.
I noticed from the recent changes list that @sn3j has already done a couple, so I've only updated the others.
- Sun Apr 28, 2024 5:17 pm
- Forum: Programming
- Topic: Simple path finding algorithm in assembler
- Replies: 37
- Views: 1617
Re: Simple path finding algorithm in assembler
is a game like "Roads of Rome" solvable with your algoritm? those type off games are rather easy and after every clearing new paths are possible. Roads of Rome seems to use a hexagonal grid. The serfs move in a straight line vertically and horizontally though, but that could have been smo...
- Sat Apr 27, 2024 9:04 pm
- Forum: Programming
- Topic: Simple path finding algorithm in assembler
- Replies: 37
- Views: 1617
Re: Simple path finding algorithm in assembler
I know that I'm several days late on this subject with answers that are going to be superior to mine, but I would like to say that for my game F'n Balls, I used the Wavefront algorithm for my pathfinding needs. It ran quite quickly and took a nominal amount of memory to implement. I write about it ...
- Fri Apr 26, 2024 7:27 am
- Forum: Programming
- Topic: jump if signed 16-bit number is >0, <=0, fastest code
- Replies: 34
- Views: 640
Re: jump if signed 16-bit number is >0, <=0, fastest code
test HL = 0x3300 xor A --> a == 0 sub L --> 0x00 - 0x00 --> not carry sbc A,A --> A = 0x00 cpl --> A = 0xFF or H --> fail, because H does not depend and the result will be less than or equal to 0 Do I understand correctly? Argh - right, this is not working with positive high-bytes... too bad. :| Id...
- Thu Apr 25, 2024 10:13 pm
- Forum: Programming
- Topic: jump if signed 16-bit number is >0, <=0, fastest code
- Replies: 34
- Views: 640
Re: jump if signed 16-bit number is >0, <=0, fastest code
but than it is slower than 24ts case. 4*5+10=30. might be useful if HL cannot be destroyed, though. but then we have 18/32 version, which is not much slower, and sometimes faster. still, might be useful for stable timings. Yes, and maybe A is already 0 from a previous operation which would allow us...
- Thu Apr 25, 2024 9:19 pm
- Forum: Programming
- Topic: jump if signed 16-bit number is >0, <=0, fastest code
- Replies: 34
- Views: 640
Re: jump if signed 16-bit number is >0, <=0, fastest code
Antonio Luque wrote: ↑Thu Apr 25, 2024 12:36 pm This takes 26ts, but preserve HL:
Code: Select all
xor a sub l sbc a,a sub h jp m,GreaterThan0
This could be fixed by:
Code: Select all
xor a
sub l
sbc a,a
cpl
or h
jp m,LessOrEqual0
- Thu Apr 25, 2024 3:12 pm
- Forum: Programming
- Topic: jump if signed 16-bit number is >0, <=0, fastest code
- Replies: 34
- Views: 640
Re: jump if signed 16-bit number is >0, <=0, fastest code
Yet another one:
Average would be something along 23.05 T.
Code: Select all
ld a, h
add a
jp c LE_0
jp nz GT_0
; deal with cases 0..255 here
or l
jp z LE_0
- Thu Apr 25, 2024 1:12 pm
- Forum: Programming
- Topic: jump if signed 16-bit number is >0, <=0, fastest code
- Replies: 34
- Views: 640
Re: jump if signed 16-bit number is >0, <=0, fastest code
Here's another one:
which is 31T for Zero, 20T for negative numbers (50% of all cases) and 26T for the positive numbers.
Average should be 23T, depending on how your cases are distributed.
Code: Select all
ld a, h
add a
jr c LE_0
or l
jr z LE_0
Average should be 23T, depending on how your cases are distributed.
- Thu Apr 25, 2024 9:34 am
- Forum: Programming
- Topic: jump if signed 16-bit number is >0, <=0, fastest code
- Replies: 34
- Views: 640
- Thu Apr 25, 2024 9:06 am
- Forum: Programming
- Topic: jump if signed 16-bit number is >0, <=0, fastest code
- Replies: 34
- Views: 640
Re: jump if signed 16-bit number is >0, <=0, fastest code
Maybe if you take the upper part after a DEC and check for bit 7? Something like posted by @_dw above -
and add an INC HL before jumping if you need the original value.
Code: Select all
ld a h
dec hl
or h
jp m LE_0
- Tue Apr 23, 2024 8:53 pm
- Forum: ZXDB Fixes
- Topic: HELP WANTED: Magazine type-in page numbers!
- Replies: 34
- Views: 760
Re: HELP WANTED: Magazine type-in page numbers!
Music Entertainer - Homecomputer 1984/12 p 35
Can't verify though as no PDF for that issue is available.
Loading screen from the TZX:
Can't verify though as no PDF for that issue is available.
Loading screen from the TZX: