News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Analogue Clock Using Irvine32.inc

Started by hamza7292, December 23, 2016, 04:33:18 AM

Previous topic - Next topic

hamza7292

Hello everyone
New member here. I am a bit new to assembly and in 3rd semester of my Computer Science Major. This semester we are taking the Computer Organization and Assembly Language. We are nearing the end semester and still have not been introduced with the .model directive. We have been assigned End Semester Project to build an analogue clock using MASM615(Which I am using right now) or Visual Studio (in groups of 2 or 3), a snake game or any other arcade game. I started off with the Analogue Clock but am stuck just in the start as we have no knowledge of using neither graphics nor trigonometry. I shall like to request the members to kindly guide me in the project.
Thanks a lot.

jj2007

Hello hamza,

"Using Irvine32.inc" is not the best option, it's a strange library, and most members here use Masm32. Try to convince your teacher ... unless it's Kip Irvine himself, of course :icon_mrgreen:

Re analogue clock, feasible but the trigonometrics you will have to do yourself. No spoonfeeding here ;-)

Post what you have achieved so far.

raymond

If you must use trigonometric functions for your project, it means using the FPU. I would strongly recommend studying the following before you start. If you have any need in the future for floating point computations, regardless of the computing language you use, that knowledge will definitely serve you.

http://www.ray.masmcode.com/fpu.html
Whenever you assume something, you risk being wrong half the time.
https://masm32.com/masmcode/rayfil/index.html