Search found 720 matches
- Sun Jan 21, 2024 2:27 pm
- Forum: Programming
- Topic: Understanding BASIC memory map
- Replies: 16
- Views: 839
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: 1476
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...
- Sat Jan 20, 2024 10:44 pm
- Forum: Preservation
- Topic: Run and take screens from Planet Protector by Nigel Stuart (UK)
- Replies: 2
- Views: 340
Re: Run and take screens from Planet Protector by Nigel Stuart (UK)
In my opinion the tape is incomplete. I was looking what is on the tape (some sound routines, at least one screen fx routine, udgs and the compiler) and I think, it contains just last code block from game. When I was looking on some other games by same author I noticed the games usualy contain three...
- Thu Jan 18, 2024 1:32 am
- Forum: Games/Software
- Topic: Best game music/sound
- Replies: 37
- Views: 1985
Re: Best game music/sound
https://www.youtube.com/watch?v=Iu_clMGOdTI https://www.youtube.com/watch?v=LlIn7Y2jt2I https://www.youtube.com/watch?v=Twc22gZkrRM https://www.youtube.com/watch?v=tLycESojiCU https://www.youtube.com/watch?v=PSErh0ZGpBw https://www.youtube.com/watch?v=n0g1tv1gXvk https://www.youtube.com/watch?v=vX2G...
- Thu Jan 11, 2024 1:42 am
- Forum: Programming
- Topic: Best way to fill screen in basic?
- Replies: 26
- Views: 1580
Re: Best way to fill screen in basic?
Well, perhaps you could just change CHARS and print string like "abcdefghijklmn .... " for each character line.
- Tue Jan 09, 2024 4:38 pm
- Forum: Programming
- Topic: Spectrum +3 printing the CATalogue
- Replies: 2
- Views: 201
Re: Spectrum +3 printing the CATalogue
IMHO, you can use Alphacom/ZX Printer in 48K mode only by default. Using it from 128K mode would need a printer driver.
- Mon Jan 08, 2024 7:55 pm
- Forum: Music
- Topic: Blasphemy! Your favourite C64 SID chiptunes...
- Replies: 25
- Views: 1436
Re: Blasphemy! Your favourite C64 SID chiptunes...
Sorry, I can't help myself:
- Mon Jan 08, 2024 7:49 pm
- Forum: Music
- Topic: Blasphemy! Your favourite C64 SID chiptunes...
- Replies: 25
- Views: 1436
Re: Blasphemy! Your favourite C64 SID chiptunes...
Comic Bakery
Ghouls'n'Ghosts
Sanxion
Golden Axe
Ghouls'n'Ghosts
Sanxion
Golden Axe
- Thu Jan 04, 2024 6:41 am
- Forum: Sinclair Miscellaneous
- Topic: The code so bad you won't hire
- Replies: 131
- Views: 4962
Re: The code so bad you won't hire
Yes, but again I'm specifically talking about this specific ROM for the spectrum having little in common with the functionality required on a bbc micro so there's nothing to "port" Boss: Hey, you, programmer ... Programmer: Me ? Boss: We need to code this stuff... by Friday. Presto, prest...
- Wed Jan 03, 2024 4:28 pm
- Forum: Sinclair Miscellaneous
- Topic: The code so bad you won't hire
- Replies: 131
- Views: 4962
Re: The code so bad you won't hire
Looks like direct translantion from 6502 to Z80.Guesser wrote: ↑Wed Jan 03, 2024 2:06 pm Still not come to a firm explanation on why the teletext adapter ROM is riddled with relative conditional jumps to other jumps/calls like these
Code: Select all
LD (HL),A CP (HL) JR NZ,init_memory_0 JP init_48k init_memory_0: JP init_16k
- Wed Jan 03, 2024 1:20 pm
- Forum: Programming
- Topic: Spaces in variable names
- Replies: 25
- Views: 660
Re: Spaces in variable names
Please tell me: 2. Why do you think they implemented this? I don't think I've ever seen any other BASIC that does it, and I see no particular benefit. In fact it would seem to impede parsing, and thus possibly increase the size of the ROM. Rather opposite, ROM uses single scan routine that skips wh...
- Wed Jan 03, 2024 12:02 pm
- Forum: Programming
- Topic: getting sound effects out of the beeper
- Replies: 26
- Views: 1502
Re: getting sound effects out of the beeper
Yes, you can draw behind beam. And instead of using floating bus (which do not work on every model/clone) just use wait loop. You can replace wait loop by sound routine but 15K ticks is too little to produce anything but farts and few notes. You may want to make sound loop longer, say 20K or 25K to ...
- Tue Dec 19, 2023 10:47 am
- Forum: Announcements
- Topic: Woot 2023 - Submissions wanted
- Replies: 72
- Views: 3096
Re: Woot 2023 - Submissions wanted
I will not finish on time, so I will release the game with Woot 24.
- Sun Dec 17, 2023 2:19 pm
- Forum: Programming
- Topic: HiSoft C programmers?
- Replies: 38
- Views: 1018
Re: HiSoft C programmers?
This is a sincere question: Has anyone done any serious programming of any sort with HiSoft C? I’m absolutely fascinated by this implementation. However, before I go all in, I was just wondering what people thought about it in general? Is it a capable compiler or more of a quaint curiosity? If you’...
- Sun Dec 17, 2023 9:00 am
- Forum: Games/Software
- Topic: Speccy golf - a good computer spoiled
- Replies: 35
- Views: 1265
- Thu Dec 14, 2023 11:32 pm
- Forum: Games/Software
- Topic: What game was the Spectrum's Half Life?
- Replies: 14
- Views: 644
Re: What game was the Spectrum's Half Life?
I would say Castle Master is close (Driller and Dark Side are fine, but I think that castle and dungeon fits better limitations of engine - in Driller and Dark Side you are told that you are on a moon, in CM (or Total Eclipse) you see that you are in front of castle (or pyramid)).
- Thu Dec 14, 2023 1:19 pm
- Forum: Hardware
- Topic: Colour clash query
- Replies: 52
- Views: 1715
Re: Colour clash query
That works OK for 16 colours (although if you're going that far in the design it's questionable why you would fix the palette entirely), but when you start introducing lots of extra rules like "If PAPER and INK match then the colour is Sky" or "If the Advanced bit is set then reinter...
- Wed Dec 13, 2023 5:41 pm
- Forum: Hardware
- Topic: Colour clash query
- Replies: 52
- Views: 1715
Re: Colour clash query
The problem with a scheme like that is it requires masses of extra logic gates to gain a small amount of colours. The simplicity of the existing scheme is that the colours can be generated quite easily from the bitwise pattern. Not necessary, french Thomson (if I remember it correctly) translates I...
- Tue Dec 12, 2023 6:58 am
- Forum: Hardware
- Topic: Colour clash query
- Replies: 52
- Views: 1715
Re: Colour clash query
With more silicon they could have something like Radastan mode (128*96 16 colors). But it would make ZX more expensive.
- Mon Dec 11, 2023 10:44 am
- Forum: Other Retro Stuff
- Topic: Computer Glitch figures
- Replies: 4
- Views: 285
Re: Computer Glitch figures
The R-Tape Loading Error doll. https://cdn.discordapp.com/attachments/1008571127779573780/1183711652877717644/daveyboyhughes_an_evil_cassette_tape_toy._4358d35a-dc22-496f-aeb2-98cea305a692.png?ex=65895462&is=6576df62&hm=f641438117a4ca9f4fb9704381d65c8c6bb25b64411f1b91c813e58c52c12782& I...
- Sat Dec 09, 2023 1:23 pm
- Forum: Programming
- Topic: getting the true length of a string stored in an array
- Replies: 20
- Views: 869
Re: getting the true length of a string stored in an array
I believe DIM a$(3,12) creates array of chars 3x12. I mean it really reserves maximum lenght 12 for each index. If you try to asign bigger string to index, the string will be cut silently to match maximum allowed length. If you assign smaller string, it will ber padded by spaces. So the answer is: l...
- Thu Dec 07, 2023 10:20 pm
- Forum: Website
- Topic: How I find [CENSORED] game
- Replies: 56
- Views: 3317
Re: How I find [CENSORED] game
(Because I have started it) Personally I think, the message "We are not showing <number> titles because.. " is allright for me. In my case, I was looking for Jmeno Ruze, which fetaures slightly obscene dialogs and a naked women of cca 32x32 pixels. However the reason why I was interested a...
- Thu Dec 07, 2023 7:13 pm
- Forum: Programming
- Topic: How to add a basic program to a TAP file.
- Replies: 11
- Views: 318
- Thu Dec 07, 2023 6:34 pm
- Forum: Programming
- Topic: How to add a basic program to a TAP file.
- Replies: 11
- Views: 318
Re: How to add a basic program to a TAP file.
Are you aware of the fact that tap files can be concated ?
- Wed Dec 06, 2023 4:44 pm
- Forum: Programming
- Topic: Is Sinclair Basic 100% compatible with ZX Boriel BASIC compiler?
- Replies: 17
- Views: 525
Re: Is Sinclair Basic 100% compatible with ZX Boriel BASIC compiler?
Doesn't look like Spectrum Basic, there is END IF.+3code wrote: ↑Wed Dec 06, 2023 4:38 pm In some cases, you can compile a program with only few changes, like https://zxbasic.readthedocs.io/en/docs/ ... narow.bas/