The MASM Forum

Miscellaneous => Irvine Book Questions. => Topic started by: hamza7292 on December 23, 2016, 04:33:18 AM

Title: Analogue Clock Using Irvine32.inc
Post by: hamza7292 on December 23, 2016, 04:33:18 AM
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.
Title: Re: Analogue Clock Using Irvine32.inc
Post by: jj2007 on December 23, 2016, 04:58:22 AM
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.
Title: Re: Analogue Clock Using Irvine32.inc
Post by: raymond on December 23, 2016, 12:08:27 PM
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