Search found 4688 matches
- Sun Mar 24, 2024 7:53 am
- Forum: Programming
- Topic: Line drawing algorithm
- Replies: 20
- Views: 4871
Re: Line drawing algorithm
Warning, longer post. Before I posted my own version of the "20000 pixels/second" line routine on the previous page, I also had a PM exchange with Merytsetesh about MrSterlingBS's original implementation: I'll take a look into this the next days whether I can derive a version of the routi...
- Sat Mar 23, 2024 3:20 am
- Forum: Programming
- Topic: Unixoid VIC
- Replies: 25
- Views: 7564
Re: Unixoid VIC
That is actually the job of CLRCHN . CLALL in addition only rudely purges the table of open files (by setting the number of open files to 0) and there is only one single instance in ROM where a JSR $FFE7 is used - by the BASIC interpreter to ensure there are no (pre-)allocated logical file numbers a...
- Sat Mar 23, 2024 2:15 am
- Forum: Programming
- Topic: CBM Key Character Arrangement
- Replies: 1
- Views: 2166
Re: CBM Key Character Arrangement
You need to differentiate clearly between PETSCII codes (i.e. what is used with CHROUT and CHRIN), screen codes (what is stored in the text screen RAM) and glyphs (the actual definition of a character matrix in the character ROM or as user defined character in RAM). What algorithm is used to pull ou...
- Mon Mar 18, 2024 3:56 am
- Forum: General Topics
- Topic: modded VIC 20 kernals?
- Replies: 14
- Views: 2381
Re: modded VIC 20 kernals?
[...] asking for the screen size returns hard coded values. It would have been nice if that was dynamic, but sadly too late. The KERNAL call JSR $FFED (SCREEN) is beyond uselessness. It assumes a level of abstraction (regarding the screen size) that at that time neither was expected nor required fr...
- Sat Mar 16, 2024 2:51 pm
- Forum: Programming
- Topic: Line drawing algorithm
- Replies: 20
- Views: 4871
Re: Line drawing algorithm
PM sentMrSterlingBS wrote:[...]
- Sat Mar 16, 2024 4:59 am
- Forum: Programming
- Topic: Line drawing algorithm
- Replies: 20
- Views: 4871
Re: Line drawing algorithm
Here's my take on this subject: Before any questions come up in this regard: MINIGRAFIK already contains a line routine, which is not as fast as the routine below, however it is much more compact (just about 100 bytes extra beyond the pixel set function otherwise already provided within the MG code)...
- Sat Mar 16, 2024 3:47 am
- Forum: General Topics
- Topic: modded VIC 20 kernals?
- Replies: 14
- Views: 2381
Re: modded VIC 20 kernals?
The KERNAL is accessed through a jump table in RAM. You can change those jump points and switch out any KERNAL subroutine you want without having to replace ROMs. That is the same case with the C64, but it did not give people a reason not to produce modified KERNAL ROMs. Edit/Addition : That being ...
- Thu Mar 14, 2024 1:16 pm
- Forum: Programming
- Topic: A sample programming session in VICMON
- Replies: 32
- Views: 19436
Re: A sample programming session in VICMON
[...] why use [SBC]? If you do the sign inversion in the same context as done in BALLPING (i.e. a given zero page address as source and target), for both methods you'll arrive at (DX := $F9): ; ** using SBC: SEC LDA #$00 SBC $F9 STA $F9 7 bytes, 10 cycles ; ** using EOR #$FF and 2s-complement: CLC ...
- Thu Mar 14, 2024 3:22 am
- Forum: Programming
- Topic: A sample programming session in VICMON
- Replies: 32
- Views: 19436
Re: A sample programming session in VICMON
That would only be correct with sign-magnitude representation.Merytsetesh wrote:To get DX = -DX, why not XOR with 128 instead of using SBC?
- Wed Mar 13, 2024 11:07 am
- Forum: Programming
- Topic: MINIGRAFIK lineart
- Replies: 48
- Views: 21828
Re: MINIGRAFIK lineart
That's Denial's way of notifying someone about a post that might be of his or her interest.allenhuffman wrote:I am trying to find why I was quoted here? I don’t see a post?
- Sun Mar 10, 2024 5:16 am
- Forum: Programming
- Topic: MINIGRAFIK lineart
- Replies: 48
- Views: 21828
Re: MINIGRAFIK lineart
Here's another port of Super Expander lineart to MINIGRAFIK ( download ); this time, 's Kangaroo duo Lionel and Joey: https://dateipfa.de/.Public/denial/images/minigrafik/kangaroo.png As with Garfield earlier in this thread, the drawing is primarily made from circle/ellipse arcs and lines. The MG im...
- Sun Mar 10, 2024 4:02 am
- Forum: Programming
- Topic: How do I redefine characters with 8k or more RAM?
- Replies: 25
- Views: 5569
Re: How do I redefine characters with 8k or more RAM?
I didn't understand that there was math involved in creating that number. When you did not ask about that detail, it was foreseeable to me that you would run into this issue: next logical step after redefining part of a character set would be redefining the entire character set. I did not want to l...
- Fri Mar 08, 2024 12:30 pm
- Forum: Emulation and Cross Development
- Topic: Assembler
- Replies: 38
- Views: 7072
Re: Assembler
wAx2?Merytsetesh wrote:I do wish the VIC had an inline assembler.
- Fri Mar 08, 2024 9:59 am
- Forum: Emulation and Cross Development
- Topic: Assembler
- Replies: 38
- Views: 7072
Re: Assembler
+1groepaz wrote:use whatever the people you can ask use.
- Fri Mar 08, 2024 2:37 am
- Forum: Emulation and Cross Development
- Topic: Assembler
- Replies: 38
- Views: 7072
Re: Assembler
As you had some exposure to the Acorn Archimedes series, and if you're adventurous, you might consider using the inline assembler of BBC BASIC, the one contained in HI BASIC (part of the !65tube emulation) in particular. :mrgreen: Otherwise, quite some people here use either dasm or ACME , so there ...