Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for different frequency of PAL/NTSC #191

Closed
spotlessmind1975 opened this issue Nov 1, 2021 · 2 comments
Closed

Support for different frequency of PAL/NTSC #191

spotlessmind1975 opened this issue Nov 1, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@spotlessmind1975
Copy link
Owner

Support for the TI variable introduced a dependency on the refresh rate. In general, interrupts are invoked at 50Hz on PAL (European) systems and 60Hz on NTSC (US) systems. A way must be found to standardize the handling of this difference, so that it is possible to write a BASIC program without depending on this detail.

@spotlessmind1975 spotlessmind1975 added the enhancement New feature or request label Nov 1, 2021
@spotlessmind1975 spotlessmind1975 added this to the 1.6 milestone Nov 1, 2021
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.6, 1.7 Nov 28, 2021
@spotlessmind1975
Copy link
Owner Author

It would be nice if ugBasic introduces a platform-dependent constant containing the number of clock ticks (cf TI variable) per second. ==> TI_PER_SEC constant This is just like the CLOCKS_PER_SEC in C.

Suggestion by @Samuel-DEVULDER on discussion thread

@spotlessmind1975 spotlessmind1975 modified the milestones: 1.7, 1.9 Dec 20, 2021
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.9, 1.11, 1.10 Jan 16, 2022
@spotlessmind1975 spotlessmind1975 moved this from To do to In progress in To do list / cose da fare Jan 16, 2022
@spotlessmind1975 spotlessmind1975 moved this from In progress to To do in To do list / cose da fare Jan 16, 2022
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.9.1, 1.10, 1.11 Feb 8, 2022
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.10.2, 1.11 Mar 17, 2022
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.11, 1.12 Apr 29, 2022
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.12, 1.14 Nov 10, 2022
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.13, 1.14 Feb 7, 2023
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.13.3, 1.14 Apr 27, 2023
@spotlessmind1975 spotlessmind1975 removed this from the 1.14 milestone Jun 17, 2023
@spotlessmind1975 spotlessmind1975 added this to the 1.15 milestone Jun 17, 2023
@spotlessmind1975 spotlessmind1975 moved this from To do to In progress in To do list / cose da fare Aug 20, 2023
@spotlessmind1975 spotlessmind1975 modified the milestones: 1.15, 1.14.2 Aug 20, 2023
@spotlessmind1975
Copy link
Owner Author

Implemented as TICKS PER SECOND under v1.14.1 ,

@spotlessmind1975 spotlessmind1975 moved this from In progress to Done in To do list / cose da fare Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant