Search found 718 matches
- Sun Apr 21, 2024 1:33 pm
- Forum: Games/Software
- Topic: The best playable demo of a MIA game on a YS/Crash/SU covertape: vote
- Replies: 15
- Views: 431
Re: The best playable demo of a MIA game on a YS/Crash/SU covertape: vote
The Tilt screenshot Is wrong. The MIA Is the other Tilt.
- Sat Apr 20, 2024 1:26 pm
- Forum: Showcase your work!
- Topic: Paralax test
- Replies: 6
- Views: 758
Re: Paralax test
Little bit more work done.
- Wed Apr 03, 2024 10:15 pm
- Forum: Programming
- Topic: Euclidean dist/Sqrt/Multiplication routines 16bit
- Replies: 38
- Views: 994
Re: Euclidean dist/Sqrt/Multiplication routines 16bit
Well, if you want really quick and dirty sqr you can also use identity log (sqrt(x)) = log(x)/2 which can be implemented as two reads of LUT and one shift. Probably best thing on this approach is that you can reuse log and antilog tables also for fast approximation of division which is also quite ex...
- Tue Apr 02, 2024 11:45 pm
- Forum: Showcase your work!
- Topic: Abersoft fig-Forth Recompiled
- Replies: 109
- Views: 3249
Re: Abersoft fig-Forth Recompiled
I think Jetpack (and other Ultimate games) erase and draw sprite at the same time, line by line. It sounds like horrible idea but sprites usually move just a little bit so this method basically replaces flickering by possible tearing. Well, you can check how it looks on YT yourself.
- Sun Mar 31, 2024 7:39 pm
- Forum: Showcase your work!
- Topic: Abersoft fig-Forth Recompiled
- Replies: 109
- Views: 3249
Re: Abersoft fig-Forth Recompiled
i had to look at (and edit) the sample game. standard line editor sux, so i wrote the fullscreen one. and implemented 64 columns print driver for it. ;-) https://files.catbox.moe/xxnhla.png the editor works in any mode, though (32, 42, 64). it has line yank/insert, and nice incremental search. sadl...
- Sun Mar 31, 2024 7:33 pm
- Forum: Programming
- Topic: Zilog's Z80 opcode choice
- Replies: 20
- Views: 577
Re: Zilog's Z80 opcode choice
Having LD A,A and so on is an 8080 design choice, and the Z80 designers had to keep it that way for compatibility's sake, since they were official instructions. When Motorola planned successor for 6800, they asked cutomers if they need binary compatibility or if source code compatibilty would be go...
- Sun Mar 31, 2024 4:12 pm
- Forum: Programming
- Topic: Zilog's Z80 opcode choice
- Replies: 20
- Views: 577
Re: Zilog's Z80 opcode choice
Well, I really wish Z80 had more addressing modes. Once you try 6809, you see how much time you waste with pointer arithmetic on Z80. Otherwise, LDI, LDD would be nice without prefix. And yes, CALL cc are used less than one would expect. My ideal 8 bit CPU would be mix of 6809 and ZB0, possibly with...
- Mon Feb 26, 2024 10:11 am
- Forum: Programming
- Topic: Mapa ve hře cyclone
- Replies: 4
- Views: 502
Re: Mapa ve hře cyclone
Nevíte někdo náhodou kde je v této hře zakódována mapa?rutina na adrese 30252 vykresluje na obrazovku a a načítá data určené IX 63310.odkud se zapisuje na tuto adresu? Diky Translation: Hi, has anyone idea how is map stored in Cyclone game. There is draw routine at 30252 and uses data given by IX =...
- Sun Feb 25, 2024 3:37 pm
- Forum: Games/Software
- Topic: The best Speccy game by Infogrames: discussion
- Replies: 12
- Views: 264
Re: The best Speccy game by Infogrames: discussion
Vera Cruz has French and Belgian authors. I'm not sure which of them was the coder but considering the long english tradition to wrongly recognize Mr. Poirot as French, I would count it.
- Thu Feb 15, 2024 10:51 pm
- Forum: Games/Software
- Topic: How big should new Speccy games be? 48k? Bigger? Release 2 versions?
- Replies: 67
- Views: 2382
Re: How big should new Speccy games be? 48k? Bigger? Release 2 versions?
For me, it is similar to movies. Some movies have 2 hours and you feel it is the right lenght, some other have 1 hour 20 minutes and you feel it is the right length. And then you have movies that ask for 2 hours and you feel they should be cut to 90 minutes. And also opposite, there are some movies ...
- Thu Feb 15, 2024 2:29 pm
- Forum: Games/Software
- Topic: How big should new Speccy games be? 48k? Bigger? Release 2 versions?
- Replies: 67
- Views: 2382
Re: How big should new Speccy games be? 48k? Bigger? Release 2 versions?
Or even better: Day 1: You join a super ambitious projects of an arcade conversion after a previous coder left. He stated he has problem with drinking and is not able to continue on the project. But at least he sends you source code of his work as TRD image for some obscure russian assembler you nev...
- Fri Feb 02, 2024 5:30 pm
- Forum: Programming
- Topic: Machine code comment syntax recommendations
- Replies: 40
- Views: 1258
Re: Machine code comment syntax recommendations
Interesting I’ve been writing what each line does but actually the block is much better. Do you have any rules around the size of a block? Single block does single thing clearScreen ; CLEAR SCREEN ; A = attribute ld hl, 16384 ld de, 16385 ld bc, 6144 ld (hl), 0 ldir ;clear pixels ld bc, 767 ld (hl)...
- Sat Jan 27, 2024 5:46 pm
- Forum: Sinclair Miscellaneous
- Topic: The code so bad you won't hire
- Replies: 131
- Views: 4867
Re: The code so bad you won't hire
And write unit tests. I have seen so many bugs that would be discovered even by the simplest test.ParadigmShifter wrote: ↑Sat Jan 27, 2024 3:29 pm Well moral of that story is never ship your own implementation of a standard algorithm without first
- Sat Jan 27, 2024 10:20 am
- Forum: Hardware
- Topic: Could standard cassette use stereo tracks to double data density ?
- Replies: 21
- Views: 1082
Re: Could standard cassette use stereo tracks to double data density ?
They even made a video camera that used audio cassettes, so cassette bandwidth is actually pretty impressive if pushed to the limits. https://www.popularmechanics.com/technology/gadgets/a25304/camcorder-audio-cassettes/ Yeah, i know about PXL camera. It Is such obscure toy hardware I cannot decide ...
- Thu Jan 25, 2024 6:26 am
- Forum: Games/Software
- Topic: Inspector Cadget - EH?
- Replies: 7
- Views: 508
Re: Inspector Cadget - EH?
You martians are missing superpowers of earthlings, obviously.TheMartian wrote: ↑Wed Jan 24, 2024 9:41 pm You actually need to press "M" while next to the key to grab it. In fact, it's quite realistic. Whenever I try to grab my keys running towards them I get hurt...
- Tue Jan 23, 2024 11:28 pm
- Forum: Brand new software!
- Topic: Game Of The Year 2023 Final Vote
- Replies: 25
- Views: 5137
Re: Game Of The Year 2023 Final Vote
I think that Seraphima and Wycheweald are awesome games and they deserve to be amongst the best of the year. I'm myself a small part of the team of Speccy Soccer and that third place makes me quite happy. That and also knowing that so many people played it and liked it. Thanks to all those who rele...
- Mon Jan 22, 2024 5:11 pm
- Forum: Sinclair Miscellaneous
- Topic: Anyone made any 2024 Speccy-related New Year Resolutions?
- Replies: 18
- Views: 784
Re: Anyone made any 2024 Speccy-related New Year Resolutions?
I have three: 1) To finish coding of shmup planned for WOOT 2023 (that is less or more sure thing) 2) Move on with Telebugs project (there is some uncertainity what we want to do) 3) Make a beat-em up game (I have very clear idea about WHAT and HOW, though I doubt my capability to draw sprites for t...
- Mon Jan 22, 2024 4:54 pm
- Forum: Programming
- Topic: How much self modifying code was there and did it do anything?
- Replies: 26
- Views: 1453
Re: How much self modifying code was there and did it do anything?
Looks interesting, can you explain that one in a bit more detail? I can't quite get my head around it... As HL is decreasing, it will rewrite second byte of JR instruction. Since series of multiple xors over chunk are deterministic, you can choose start value in A register such that result of XOR w...
- Sun Jan 21, 2024 8:34 pm
- Forum: Graphics
- Topic: Iconic Character Sprites
- Replies: 80
- Views: 4971
- Sun Jan 21, 2024 7:29 pm
- Forum: Programming
- Topic: Understanding BASIC memory map
- Replies: 16
- Views: 835
Re: Understanding BASIC memory map
Any ISR that would destroy HL would be most likely useless. What I mean than you can reserve space on stack like this: ld hl, -1000 ; reserve 1000 bytes add hl, sp ld sp, hl and free reserved memory like this ld hl, 1000 add hl, sp ld sp, hl basically any high level compiler supporting stack frame w...
- Sun Jan 21, 2024 6:32 pm
- Forum: Programming
- Topic: Understanding BASIC memory map
- Replies: 16
- Views: 835
Re: Understanding BASIC memory map
Why you should not change stack pointer, Basic does that all thé time.ParadigmShifter wrote: ↑Sun Jan 21, 2024 6:28 pm If you change SP you need to do that inside a DI/EI block too.
- Sun Jan 21, 2024 6:28 pm
- Forum: Programming
- Topic: Understanding BASIC memory map
- Replies: 16
- Views: 835
Re: Understanding BASIC memory map
IMHO, you can use all space between STKEND and Z80 stack. Still, remember that USR is just Basic function and it should work even when it is part of more complex expression so you should not touch anything bellow STKEND.
But why not to reserve space directly on Z80 stack ?
But why not to reserve space directly on Z80 stack ?
- Sun Jan 21, 2024 4:44 pm
- Forum: Programming
- Topic: Understanding BASIC memory map
- Replies: 16
- Views: 835
Re: Understanding BASIC memory map
Edit: 1) that 3E byte is mark for bottom of GOSUB stack 2) yes, FREE MEMORY is that one you want - use PRINT 65536-USR 7962 3) I would really use variable area: 3a) read value of VARS to get start of variable area 3b) reserve space for a dummy variable by calling MAKE-ROOM with HL=pointing to addres...
- Sun Jan 21, 2024 2:27 pm
- Forum: Programming
- Topic: Understanding BASIC memory map
- Replies: 16
- Views: 835
Re: Understanding BASIC memory map
P.S. The goal is to allocate a large chunk of memory in your machine code without asking user to explicitly set RAMTOP. But RAMTOP is there exactly to limit memory used by Basic. Anything below it is not guaranteed. UDG area can only be moved explicitly, right? Unless something modifies UDG sys var...
- Sun Jan 21, 2024 10:47 am
- Forum: Programming
- Topic: How much self modifying code was there and did it do anything?
- Replies: 26
- Views: 1453
Re: How much self modifying code was there and did it do anything?
The practical examples I see quite often: 1) store SP value directly as argument of LD SP, nnnn 2) update a byte/word value and inject new value back to computation code - RNGs use it quite often 3) compute jump argument for JR - very often it works as replacement for SWITCH CASE statement 4) variou...