Changeset 44 for trunk/BOOTCODE/REGULAR/DEBUG.ASM
- Timestamp:
- Apr 12, 2014, 12:05:10 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/DEBUG.ASM
r43 r44 190 190 ;~ call DEBUG_DumpGeo 191 191 192 192 call DEBUG_CheckBitFields 193 193 194 194 popa … … 226 226 popf 227 227 ret 228 229 230 228 DEBUG_DumpBSSSectors EndP 231 229 232 230 233 231 DEBUG_CheckBitFields Proc 232 pushf 233 pusha 234 235 mov bx,offset [ott] 236 237 mov al,0 238 mov dl,0 239 mov dh,6 240 DEBUG_CheckBitFields_next_write: 241 call CONV_SetBitfieldValue 242 inc al 243 inc dl 244 ;~ cmp dl,70 245 jnz DEBUG_CheckBitFields_next_write 246 247 mov dl,0 248 mov dh,6 249 DEBUG_CheckBitFields_next_read: 250 mov al,dl 251 call AuxIO_TeletypeHexByte 252 mov al,':' 253 call AuxIO_Teletype 254 call CONV_GetBitfieldValue 255 call AuxIO_TeletypeHexWord 256 call AuxIO_TeletypeNL 257 inc dl 258 ;~ cmp dl,70 259 jnz DEBUG_CheckBitFields_next_read 260 261 popa 262 popf 263 ret 264 DEBUG_CheckBitFields EndP 234 265 235 266 ; … … 237 268 ; 238 269 DEBUG_Dump2 Proc Near 239 pushf240 pusha241 242 243 call AuxIO_TeletypeNL244 call AuxIO_TeletypeNL245 246 247 mov si,offset db_config248 call AuxIO_Print249 250 mov si,offset db_cfgparts251 call AuxIO_Print252 mov al,[CFG_Partitions]253 call AuxIO_TeletypeHexByte254 call AuxIO_TeletypeNL255 256 mov si,offset db_cfgpartdef257 call AuxIO_Print258 mov al,[CFG_PartDefault]259 call AuxIO_TeletypeHexByte260 call AuxIO_TeletypeNL261 262 mov si,offset db_cfgpartlast263 call AuxIO_Print264 mov al,[CFG_PartLast]265 call AuxIO_TeletypeHexByte266 call AuxIO_TeletypeNL267 call AuxIO_TeletypeNL268 269 270 271 mov si,offset db_vars272 call AuxIO_Print273 274 mov si,offset db_newpart275 call AuxIO_Print276 mov si,offset NewPartTable277 call AuxIO_DumpSector278 call AuxIO_TeletypeNL279 add si,512280 call AuxIO_DumpSector281 call AuxIO_TeletypeNL282 call AuxIO_TeletypeNL283 284 mov si,offset db_newhide285 call AuxIO_Print286 mov si,offset NewHidePartTable287 call AuxIO_DumpSector288 call AuxIO_TeletypeNL289 add si,512290 call AuxIO_DumpSector291 call AuxIO_TeletypeNL292 call AuxIO_TeletypeNL293 294 mov si,offset db_dletters295 call AuxIO_Print296 mov si,offset NewDriveLetters297 call AuxIO_DumpParagraph298 call AuxIO_TeletypeNL299 add si,16300 call AuxIO_DumpParagraph301 call AuxIO_TeletypeNL302 call AuxIO_TeletypeNL303 304 mov si,offset db_tmpec305 call AuxIO_Print306 mov si,offset TmpSector307 call AuxIO_DumpSector308 call AuxIO_TeletypeNL309 call AuxIO_TeletypeNL310 311 mov si,offset db_partsec312 call AuxIO_Print313 mov si,offset PartitionSector314 call AuxIO_DumpSector315 call AuxIO_TeletypeNL316 call AuxIO_TeletypeNL317 318 popa319 popf270 ;~ pushf 271 ;~ pusha 272 ;~ 273 ;~ 274 ;~ call AuxIO_TeletypeNL 275 ;~ call AuxIO_TeletypeNL 276 ;~ 277 ;~ 278 ;~ mov si,offset db_config 279 ;~ call AuxIO_Print 280 ;~ 281 ;~ mov si,offset db_cfgparts 282 ;~ call AuxIO_Print 283 ;~ mov al,[CFG_Partitions] 284 ;~ call AuxIO_TeletypeHexByte 285 ;~ call AuxIO_TeletypeNL 286 ;~ 287 ;~ mov si,offset db_cfgpartdef 288 ;~ call AuxIO_Print 289 ;~ mov al,[CFG_PartDefault] 290 ;~ call AuxIO_TeletypeHexByte 291 ;~ call AuxIO_TeletypeNL 292 ;~ 293 ;~ mov si,offset db_cfgpartlast 294 ;~ call AuxIO_Print 295 ;~ mov al,[CFG_PartLast] 296 ;~ call AuxIO_TeletypeHexByte 297 ;~ call AuxIO_TeletypeNL 298 ;~ call AuxIO_TeletypeNL 299 ;~ 300 ;~ 301 ;~ 302 ;~ mov si,offset db_vars 303 ;~ call AuxIO_Print 304 ;~ 305 ;~ mov si,offset db_newpart 306 ;~ call AuxIO_Print 307 ;~ mov si,offset NewPartTable 308 ;~ call AuxIO_DumpSector 309 ;~ call AuxIO_TeletypeNL 310 ;~ add si,512 311 ;~ call AuxIO_DumpSector 312 ;~ call AuxIO_TeletypeNL 313 ;~ call AuxIO_TeletypeNL 314 ;~ 315 ;~ mov si,offset db_newhide 316 ;~ call AuxIO_Print 317 ;~ mov si,offset NewHidePartTable 318 ;~ call AuxIO_DumpSector 319 ;~ call AuxIO_TeletypeNL 320 ;~ add si,512 321 ;~ call AuxIO_DumpSector 322 ;~ call AuxIO_TeletypeNL 323 ;~ call AuxIO_TeletypeNL 324 ;~ 325 ;~ mov si,offset db_dletters 326 ;~ call AuxIO_Print 327 ;~ mov si,offset NewDriveLetters 328 ;~ call AuxIO_DumpParagraph 329 ;~ call AuxIO_TeletypeNL 330 ;~ add si,16 331 ;~ call AuxIO_DumpParagraph 332 ;~ call AuxIO_TeletypeNL 333 ;~ call AuxIO_TeletypeNL 334 ;~ 335 ;~ mov si,offset db_tmpec 336 ;~ call AuxIO_Print 337 ;~ mov si,offset TmpSector 338 ;~ call AuxIO_DumpSector 339 ;~ call AuxIO_TeletypeNL 340 ;~ call AuxIO_TeletypeNL 341 ;~ 342 ;~ mov si,offset db_partsec 343 ;~ call AuxIO_Print 344 ;~ mov si,offset PartitionSector 345 ;~ call AuxIO_DumpSector 346 ;~ call AuxIO_TeletypeNL 347 ;~ call AuxIO_TeletypeNL 348 ;~ 349 ;~ popa 350 ;~ popf 320 351 ret 321 352 DEBUG_Dump2 EndP
Note:
See TracChangeset
for help on using the changeset viewer.