Added sin/cos/tan functions
Pas 6502 ยป Devlog
Hi all, I've now added in sin/cos/tan functions into Pas 6502. For now, they can only be used if their parameters resolve to numbers, but they are still useful for constant array for-loops, and where you need a sin/cos/tan value in your code as a number.
- sin(x, n) โ returns n*sin(x*PI/128)
- cos(x, n) โ returns n*cos(x*PI/128)
- tan(x, n) โ returns n*tan(x*PI/128)
I've updated the array consts example to include a sin example ๐๐
Files
pas6502.zip 1.6 MB
May 05, 2023
Get Pas 6502
Download NowName your own price
Pas 6502
Pascal cross-compiler for 6502 machines.
Status | In development |
Category | Tool |
Author | syntaxerrorsoftware |
Tags | atari, bbc-micro, Commodore 64, compiler, cross-compiler, pascal, utility |
More posts
- Commodore PET support added!52 days ago
- Apple II support added!! (and some fixes)53 days ago
- Bug fixes, IDE updates, improvements...58 days ago
- Find/replace dialog, goto code definitions and other improvements.70 days ago
- Improvements and bug fixes madeJun 16, 2024
- New download file (fragments.zip) and include.zip updateJun 07, 2024
- Art change for NES example...May 11, 2024
- Small changes and NES support!May 09, 2024
- New machine support and some fixes...Apr 19, 2024
- Updates, fixes, and C128 support addedMar 31, 2024
Leave a comment
Log in with itch.io to leave a comment.