{"title":"将时间输入微型计算机","authors":"N Darwood","doi":"10.1016/0308-5953(78)90164-2","DOIUrl":null,"url":null,"abstract":"<div><p>When the program in a real-time computer needs to know the time of day and the date, there are two ways this can be implemented. One way is to have a software clock: every, say, 100 ms the main program is interrupted to go into a subroutine which updates the time. The other technique is to use a hardware clock, made up from a counter that divides by 60 for seconds and so on.</p><p>In the software case, when first switching on, the time of day and date is usually entered via the keyboard. In the hardware case, when first switching on, the time of day and date is set in via switches.</p></div>","PeriodicalId":100928,"journal":{"name":"Microprocessors","volume":"2 5","pages":"Page 283"},"PeriodicalIF":0.0000,"publicationDate":"1978-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/0308-5953(78)90164-2","citationCount":"0","resultStr":"{\"title\":\"Setting time into a microcomputer\",\"authors\":\"N Darwood\",\"doi\":\"10.1016/0308-5953(78)90164-2\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>When the program in a real-time computer needs to know the time of day and the date, there are two ways this can be implemented. One way is to have a software clock: every, say, 100 ms the main program is interrupted to go into a subroutine which updates the time. The other technique is to use a hardware clock, made up from a counter that divides by 60 for seconds and so on.</p><p>In the software case, when first switching on, the time of day and date is usually entered via the keyboard. In the hardware case, when first switching on, the time of day and date is set in via switches.</p></div>\",\"PeriodicalId\":100928,\"journal\":{\"name\":\"Microprocessors\",\"volume\":\"2 5\",\"pages\":\"Page 283\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1978-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://sci-hub-pdf.com/10.1016/0308-5953(78)90164-2\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Microprocessors\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/0308595378901642\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Microprocessors","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/0308595378901642","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
When the program in a real-time computer needs to know the time of day and the date, there are two ways this can be implemented. One way is to have a software clock: every, say, 100 ms the main program is interrupted to go into a subroutine which updates the time. The other technique is to use a hardware clock, made up from a counter that divides by 60 for seconds and so on.
In the software case, when first switching on, the time of day and date is usually entered via the keyboard. In the hardware case, when first switching on, the time of day and date is set in via switches.