IntyBASIC icon indicating copy to clipboard operation
IntyBASIC copied to clipboard

native support for CP1600 extensions in LTO-Flash

Open artrag opened this issue 6 years ago • 3 comments

LTO-Flash includes a huge amount of CP1600 extensions that can be essential for math coding and data manipulation.

Look at ATAN2, DIST, SUMSQ,MPYSS and many others Locutus_CP-1600X_Instruction_Set_Extensions_20191119a.pdf https://atariage.com/forums/applications/core/interface/file/attachment.php?id=679387

The latest documentation is in attach. A big step in the intybasic could be native support of these extensions, specific of the LTO cartridge

artrag avatar Nov 23 '19 22:11 artrag

Adding MPY16 support seems almost trivial, as it could be included in the current macro MULT reg, tmp, const

artrag avatar Jun 18 '20 07:06 artrag

Wow! This is amazing and opens a whole new world. I need to research it more in terms of assembler support, and what LTO-Flash cartridges supporting this, before doing any implementation.

I thought you were asking about the old protocol for hardware multiplication that indeed is fully supported as soon as using --jlp.

nanochess avatar Jun 18 '20 17:06 nanochess

Have a look here https://atariage.com/forums/topic/298518-extending-the-cp1600-instruction-set/?tab=comments#comment-4558500 I've used this template to include ATAN2() in Galaxian

artrag avatar Jun 18 '20 22:06 artrag