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 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
- Fixed missing files issue!46 days ago
- Fragments system in Pas 650246 days ago
- Bug fixes and updatesMay 07, 2023
- Update and constant arraysApr 29, 2023
- Minor updatesApr 27, 2023
- Integrated help via F1 addedApr 24, 2023
- Improvements madeApr 23, 2023
- Documentation updates and missing files addedApr 21, 2023
Leave a comment
Log in with itch.io to leave a comment.