Search found 366 matches

by akuyou
Tue Jan 19, 2021 6:27 am
Forum: General Z80 Programming
Topic: Another rather newbie question
Replies: 4
Views: 34

Re: Another rather newbie question

You already answered that yourself... it's the ascii for '0'! We're converting a number in a register to an ascii character for the screen, after all. Try changing it to a different number, and see what happens! Alternatively, it may help to work this the other way round... start from scratch, and t...
by akuyou
Sun Jan 17, 2021 4:56 am
Forum: MSX & MSX2 Assembly Programming
Topic: Video: Lesson P5 - Bitmap graphics on the TI-83 and MSX
Replies: 11
Views: 3611

Re: Video: Lesson P5 - Bitmap graphics on the TI-83 and MSX

Yes, it shouldn't be too difficult to set up a tilemap with all the tiles showing different bytes of pattern ram. You'll just then need to calculate the correct byte for the pair of pixels you need to change, and read in the current value, putting the new pixel color in it's place, before writing ba...
by akuyou
Sat Jan 16, 2021 11:24 am
Forum: General Z80 Programming
Topic: Another rather newbie question
Replies: 4
Views: 34

Re: Another rather newbie question

We want to convert a Hex value to a Ascii letter. As you said 0 in Ascii is 48, so we add Ascii '0' (48) to number zero to convert our number to a letter - we can then show this letter to the screen. this only works up to 9, we then need to jump to the letters, so we add 7 when needed. If you don't ...
by akuyou
Fri Jan 15, 2021 10:20 am
Forum: General Z80 Programming
Topic: Looping strings
Replies: 2
Views: 20

Re: Looping strings

I think this does what you're after. A few changes! 1. You need a return at the end of your printstring function. 2. you don't need "dec b" or "cp 255"... djnz does this for you. 3. Printstring changes HL, so the next run of it won't show 'Test'... I put the call in the middle of...
by akuyou
Wed Jan 13, 2021 1:08 pm
Forum: MSX & MSX2 Assembly Programming
Topic: Video: Lesson P5 - Bitmap graphics on the TI-83 and MSX
Replies: 11
Views: 3611

Re: Video: Lesson P5 - Bitmap graphics on the TI-83 and MSX

Unless I'm misunderstanding things, MC mode is not a true bitmap screen mode. It still uses patterns and tiles, it's just each of those tiles is defined by 2 bytes per block, and strangely, which two bytes of the 8 byte pattern changes depending on the horizontal screen line. It would not be very po...
by akuyou
Sat Jan 09, 2021 11:34 am
Forum: MSX & MSX2 Assembly Programming
Topic: Video: Lesson P5 - Bitmap graphics on the TI-83 and MSX
Replies: 11
Views: 3611

Re: Video: Lesson P5 - Bitmap graphics on the TI-83 and MSX

Anyone can make a suggestion, but only $5+ backers can make a 'request' and be sure I'll spend time trying to solve it... I spend almost all my free time on the tutorials as it is, researching programming and documenting this topic could easily take a full day, and when it's something that doesn't i...
by akuyou
Wed Jan 06, 2021 11:40 am
Forum: MSX & MSX2 Assembly Programming
Topic: Video: Lesson P5 - Bitmap graphics on the TI-83 and MSX
Replies: 11
Views: 3611

Re: Video: Lesson P5 - Bitmap graphics on the TI-83 and MSX

Sorry, but I have absolutely no interest in MSX Screen 3, so unless it's the interest of a high value sponsor, I'm not covering it.
by akuyou
Tue Dec 29, 2020 1:43 am
Forum: Other 6502 Systems
Topic: Requesting CBM/PET Support
Replies: 1
Views: 238

Re: Requesting CBM/PET Support

I've replied to your email directly, but I'll put a 'public' reply here.

generally speaking, I'm not looking to add any more platforms at this time, the reason being is I'm working at 100% capacity covering the systems I already am, so I don't want to take any more on in the forseeable future.
by akuyou
Sun Dec 27, 2020 7:18 am
Forum: Amstrad CPC Assembly Programming
Topic: Changing Hex in memory to Decimal on screen
Replies: 4
Views: 366

Re: Changing Hex in memory to Decimal on screen

I'm not saying it's the best, but here is the function I use to show decimal values from 0-255 from a single byte. You mentioned splitting it into nibbles, so I guess you already know about binary coded decimal? (https://www.chibiakumas.com/z80/advanced.php#LessonA1)... That would certainly be what ...
by akuyou
Tue Dec 22, 2020 8:46 am
Forum: MSX & MSX2 Assembly Programming
Topic: Video: Lesson P10 - Tilemap graphics on the MSX1
Replies: 7
Views: 4375

Re: Video: Lesson P10 - Tilemap graphics on the MSX1

Akusprite editor exports files based on color number not shade. You need to load in the correct palette for the MSX1, There's an option to set the correct colors: Tools->Palette>Msx1 Palette Should set the color palette of Akusprite to be correct, and your exports should now appear in the MSX1 as th...

Go to advanced search